2020-08-30 11:54:41 +02:00
|
|
|
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)
|
2021-09-14 00:13:48 +02:00
|
|
|
generate_output_files(simpleexe simpleexe2 simpleshared simplestatic simpleobj)
|
2020-08-30 11:54:41 +02:00
|
|
|
|
|
|
|
file(APPEND "${CMAKE_BINARY_DIR}/target_files.cmake" "set(GENERATED_FILES [==[${CMAKE_BINARY_DIR}/empty.cmake]==])\n")
|