mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
c05ea48545
Change `getFirstProject` macro to more flexible version `getProjectNames`
6 lines
164 B
CMake
6 lines
164 B
CMake
getProjectNames(projects)
|
|
list(GET projects 0 first_project)
|
|
if(NOT first_project STREQUAL "TestStartup")
|
|
error("TestStartup is not the startup project")
|
|
endif()
|