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

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

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