Add self-parsing integration test
This commit is contained in:
parent
59c7ea31e1
commit
bd4db2ce80
4 changed files with 25 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ option(BUILD_TESTING "build test" OFF) # The ctest variable for building tests
|
|||
|
||||
if(${CPPAST_BUILD_TEST} OR ${BUILD_TESTING} OR (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR))
|
||||
set(build_test ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # for the self integration test
|
||||
else()
|
||||
set(build_test OFF)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue