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(foo STATIC foo.cpp)
|
|
string(TOLOWER ${CMAKE_CXX_COMPILER_ID} compiler_id)
|
|
target_compile_definitions(foo PRIVATE Foo=$<CXX_COMPILER_ID:${compiler_id}>)
|