Expose cppast version string via macro
This commit is contained in:
parent
01b206d453
commit
6a09a5253e
2 changed files with 3 additions and 2 deletions
|
|
@ -100,7 +100,8 @@ target_link_libraries(cppast PUBLIC type_safe _cppast_tiny_process _cppast_libcl
|
|||
target_compile_definitions(cppast PUBLIC
|
||||
CPPAST_LIBCLANG_SYSTEM_INCLUDE_DIR="${LIBCLANG_SYSTEM_INCLUDE_DIR}"
|
||||
CPPAST_CLANG_BINARY="${CLANG_BINARY}"
|
||||
CPPAST_CLANG_VERSION_STRING="${LLVM_VERSION}")
|
||||
CPPAST_CLANG_VERSION_STRING="${LLVM_VERSION}"
|
||||
CPPAST_VERSION_STRING="${cppast_VERSION}")
|
||||
if(CPPAST_ENABLE_ASSERTIONS)
|
||||
target_compile_definitions(cppast PUBLIC CPPAST_ENABLE_ASSERTIONS)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue