You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
360 B
10 lines
360 B
getProjectNames(projects)
|
|
list(GET projects 0 first_project)
|
|
if(NOT first_project STREQUAL "CMakePredefinedTargets")
|
|
error("CMakePredefinedTargets is not the first project")
|
|
endif()
|
|
list(GET projects 1 second_project)
|
|
if(NOT second_project STREQUAL "TestStartup")
|
|
error("TestStartup does not immediately follow the CMakePredefinedTargets project")
|
|
endif()
|