Sign in
fuchsia
/
third_party
/
cmake
/
f6193d92fd6c99db81126bd8ff812797ed629be9
/
.
/
Tests
/
RunCMake
/
PolicyScope
/
dir1
/
CMakeLists.txt
blob: 16bcb36899a385f62340c4b466cf8006c3a63a3e [
file
] [
log
] [
blame
]
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}>)