mirror of
https://github.com/reactos/CMake.git
synced 2024-12-21 03:00:59 +00:00
484bb888a0
Use preprocessor loops and add a unit test for the appropriate policies. All policies whose value is recorded at target creation time should be part of this list.
9 lines
146 B
CMake
9 lines
146 B
CMake
|
|
enable_language(CXX)
|
|
|
|
add_library(empty empty.cpp)
|
|
target_compile_definitions(empty
|
|
PRIVATE
|
|
$<$<TARGET_POLICY:NOT_A_POLICY>:SOME_DEFINE>
|
|
)
|