summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/Simple.cmake
blob: a32f551109a3acef00949cde8bcecea8f6a97d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
enable_language(C)

file(TOUCH ${CMAKE_BINARY_DIR}/empty.cmake)
include(${CMAKE_BINARY_DIR}/empty.cmake)

add_subdirectory(SimpleSubdir)

add_library(simplestatic STATIC simplelib.c)

include(${CMAKE_CURRENT_LIST_DIR}/Common.cmake)
generate_output_files(simpleexe simpleshared simplestatic simpleobj)

file(APPEND "${CMAKE_BINARY_DIR}/target_files.cmake" "set(GENERATED_FILES [==[${CMAKE_BINARY_DIR}/empty.cmake]==])\n")