|
@ -10,10 +10,6 @@ if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") |
|
|
set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti) |
|
|
set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti) |
|
|
endif () |
|
|
endif () |
|
|
|
|
|
|
|
|
# Needed by LLVM |
|
|
|
|
|
# TODO: If LLVMConfig.cmake is fixed, ${LLVM_DEFINITIONS} var can be used |
|
|
|
|
|
add_definitions(-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS) |
|
|
|
|
|
|
|
|
|
|
|
add_library(${TARGET_NAME} ${SOURCES} ${HEADERS}) |
|
|
add_library(${TARGET_NAME} ${SOURCES} ${HEADERS}) |
|
|
set_property(TARGET ${TARGET_NAME} PROPERTY FOLDER "libs") |
|
|
set_property(TARGET ${TARGET_NAME} PROPERTY FOLDER "libs") |
|
|
|
|
|
|
|
|