Sign in
fuchsia
/
third_party
/
cmake
/
9e99a95c7db5be8c6b979b0170ab4cf78bb32307
/
.
/
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}>)