"Fossies" - the Fresh Open Source Software Archive

Member "clamav-0.102.3/libclamav/c++/llvm/cmake/modules/AddLLVMDefinitions.cmake" (12 May 2020, 409 Bytes) of package /linux/misc/clamav-0.102.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # 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 
    7 macro(add_llvm_definitions)
    8   set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${ARGN}")
    9   add_definitions( ${ARGN} )
   10 endmacro(add_llvm_definitions)
   11