5 lines
134 B
CMake
5 lines
134 B
CMake
|
project(testRebuild)
|
||
|
add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.c)
|
||
|
add_executable(bar bar.c)
|
||
|
target_link_libraries(bar foo)
|