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.
|
add_library(ObjLib OBJECT)
|
|
|
|
target_sources(ObjLib PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/ObjLib.cpp")
|
|
|
|
# Ensure re-generation
|
|
file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/ObjLib.cpp")
|
|
|
|
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ObjLib.cpp" CONTENT "")
|