blob: e26e3e0815240e3b8dde3795abc215ed1445c2ac (
plain)
1
2
3
4
5
6
7
8
9
10
|
enable_language(C)
add_executable(exe main.c)
add_library(mylib STATIC simplelib.c)
install(TARGETS exe DESTINATION bin/$<CONFIG>)
install(TARGETS mylib DESTINATION lib/$<CONFIG>)
include(${CMAKE_CURRENT_LIST_DIR}/Common.cmake)
generate_output_files(exe mylib)
|