You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
264 B

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)