blob: 0f6d81f736d514b5733220c7784fc5fad3390b5e [file] [log] [blame]
Oscar Fuentes9a0107d2009-04-04 22:41:07 +00001# There is no clear way of keeping track of compiler command-line
2# options chosen via `add_definitions', so we need our own method for
3# using it on tools/llvm-config/CMakeLists.txt.
4
5# Beware that there is no implementation of remove_llvm_definitions.
6
7macro(add_llvm_definitions)
8 set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${ARGN}")
9 add_definitions( ${ARGN} )
10endmacro(add_llvm_definitions)
11