CMake/Tests/RunCMake/VSSolution/StartupProject-check.cmake
Taylor Braun-Jones c05ea48545 VS: Improve unit test macros
Change `getFirstProject` macro to more flexible version
`getProjectNames`
2016-03-22 12:41:30 -04:00

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()