cmake/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake
2016-07-09 11:21:54 +02:00

6 lines
160 B
CMake

getProjectNames(projects)
list(GET projects 0 first_project)
if(NOT first_project STREQUAL "ALL_BUILD")
error("ALL_BUILD is not the startup project")
endif()