mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
5badf5f734
This adds a test that uses two project commands in the same CMakeLists.txt file. It also adds a fix so that cmake --build will work in that case. The fix sets the name of the last project command in the top level CMakeLists.txt in the cache variable CMAKE_PROJECT_NAME. This variable is used by cmake --build to find the project name.
4 lines
65 B
CMake
4 lines
65 B
CMake
project(dumb)
|
|
project(dumber)
|
|
add_executable(just_silly silly.c)
|