Format CMake files with cmake-format 0.6.7
This commit is contained in:
parent
e7bbdd0af6
commit
c68d9ea384
|
@ -45,15 +45,16 @@ if (TARGET clang-cpp)
|
||||||
list(APPEND PRIVATE_LIBRARIES clang-cpp LLVM)
|
list(APPEND PRIVATE_LIBRARIES clang-cpp LLVM)
|
||||||
else ()
|
else ()
|
||||||
list(
|
list(
|
||||||
APPEND PRIVATE_LIBRARIES
|
APPEND
|
||||||
clangTooling
|
PRIVATE_LIBRARIES
|
||||||
clangFrontend
|
clangTooling
|
||||||
clangSerialization
|
clangFrontend
|
||||||
clangSema
|
clangSerialization
|
||||||
clangAST
|
clangSema
|
||||||
clangLex
|
clangAST
|
||||||
clangBasic
|
clangLex
|
||||||
LLVM)
|
clangBasic
|
||||||
|
LLVM)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# also add reflective_rapidjson which is header-only but might pull additional include dirs for RapidJSON
|
# also add reflective_rapidjson which is header-only but might pull additional include dirs for RapidJSON
|
||||||
|
|
|
@ -14,22 +14,28 @@ set(DOC_FILES README.md)
|
||||||
|
|
||||||
# add JSON-specific sources
|
# add JSON-specific sources
|
||||||
if (RapidJSON_FOUND)
|
if (RapidJSON_FOUND)
|
||||||
list(APPEND HEADER_FILES json/reflector.h json/reflector-boosthana.h json/reflector-chronoutilities.h
|
list(
|
||||||
json/serializable.h json/errorhandling.h)
|
APPEND
|
||||||
|
HEADER_FILES
|
||||||
|
json/reflector.h
|
||||||
|
json/reflector-boosthana.h
|
||||||
|
json/reflector-chronoutilities.h
|
||||||
|
json/serializable.h
|
||||||
|
json/errorhandling.h)
|
||||||
list(APPEND TEST_SRC_FILES tests/jsonreflector.cpp tests/jsonreflector-boosthana.cpp
|
list(APPEND TEST_SRC_FILES tests/jsonreflector.cpp tests/jsonreflector-boosthana.cpp
|
||||||
tests/jsonreflector-chronoutilities.cpp)
|
tests/jsonreflector-chronoutilities.cpp)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# add binary (de)serialization specific sources
|
# add binary (de)serialization specific sources
|
||||||
list(APPEND HEADER_FILES binary/reflector.h binary/reflector-boosthana.h binary/reflector-chronoutilities.h
|
list(APPEND HEADER_FILES binary/reflector.h binary/reflector-boosthana.h binary/reflector-chronoutilities.h
|
||||||
binary/serializable.h)
|
binary/serializable.h)
|
||||||
list(APPEND TEST_SRC_FILES tests/traits.cpp tests/binaryreflector.cpp tests/binaryreflector-boosthana.cpp)
|
list(APPEND TEST_SRC_FILES tests/traits.cpp tests/binaryreflector.cpp tests/binaryreflector-boosthana.cpp)
|
||||||
|
|
||||||
# add (only) the CMake module and include dirs for c++utilities because we're not depending on the actual library
|
# add (only) the CMake module and include dirs for c++utilities because we're not depending on the actual library
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_MODULE_DIRS})
|
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_MODULE_DIRS})
|
||||||
if (CPP_UTILITIES_SOURCE_DIR)
|
if (CPP_UTILITIES_SOURCE_DIR)
|
||||||
list(APPEND PUBLIC_INCLUDE_DIRS $<BUILD_INTERFACE:${CPP_UTILITIES_SOURCE_DIR}/..>
|
list(APPEND PUBLIC_INCLUDE_DIRS $<BUILD_INTERFACE:${CPP_UTILITIES_SOURCE_DIR}/..>
|
||||||
$<INSTALL_INTERFACE:${CPP_UTILITIES_INCLUDE_DIRS}>)
|
$<INSTALL_INTERFACE:${CPP_UTILITIES_INCLUDE_DIRS}>)
|
||||||
else ()
|
else ()
|
||||||
list(APPEND PUBLIC_INCLUDE_DIRS "${CPP_UTILITIES_INCLUDE_DIRS}")
|
list(APPEND PUBLIC_INCLUDE_DIRS "${CPP_UTILITIES_INCLUDE_DIRS}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in New Issue