mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
Merge pull request #32 from r4d2/master
deactivating optional build settings TODO: reactivate them on dev build scripts & travis
This commit is contained in:
commit
7dc1ae92a2
@ -127,7 +127,7 @@ endif (WIN32)
|
|||||||
|
|
||||||
# Optional additional targets:
|
# Optional additional targets:
|
||||||
|
|
||||||
option(SQLITECPP_RUN_CPPLINT "Run cpplint.py tool for Google C++ StyleGuide." ON)
|
option(SQLITECPP_RUN_CPPLINT "Run cpplint.py tool for Google C++ StyleGuide." OFF)
|
||||||
if (SQLITECPP_RUN_CPPLINT)
|
if (SQLITECPP_RUN_CPPLINT)
|
||||||
# add a cpplint target to the "all" target
|
# add a cpplint target to the "all" target
|
||||||
add_custom_target(SQLiteCpp_cpplint
|
add_custom_target(SQLiteCpp_cpplint
|
||||||
@ -138,7 +138,7 @@ else (SQLITECPP_RUN_CPPLINT)
|
|||||||
message(STATUS "SQLITECPP_RUN_CPPLINT OFF")
|
message(STATUS "SQLITECPP_RUN_CPPLINT OFF")
|
||||||
endif (SQLITECPP_RUN_CPPLINT)
|
endif (SQLITECPP_RUN_CPPLINT)
|
||||||
|
|
||||||
option(SQLITECPP_RUN_CPPCHECK "Run cppcheck C++ static analysis tool." ON)
|
option(SQLITECPP_RUN_CPPCHECK "Run cppcheck C++ static analysis tool." OFF)
|
||||||
if (SQLITECPP_RUN_CPPCHECK)
|
if (SQLITECPP_RUN_CPPCHECK)
|
||||||
# add a cppcheck target to the "all" target
|
# add a cppcheck target to the "all" target
|
||||||
add_custom_target(SQLiteCpp_cppcheck
|
add_custom_target(SQLiteCpp_cppcheck
|
||||||
@ -149,7 +149,7 @@ else (SQLITECPP_RUN_CPPCHECK)
|
|||||||
message(STATUS "SQLITECPP_RUN_CPPCHECK OFF")
|
message(STATUS "SQLITECPP_RUN_CPPCHECK OFF")
|
||||||
endif (SQLITECPP_RUN_CPPCHECK)
|
endif (SQLITECPP_RUN_CPPCHECK)
|
||||||
|
|
||||||
option(SQLITECPP_RUN_DOXYGEN "Run Doxygen C++ documentation tool." ON)
|
option(SQLITECPP_RUN_DOXYGEN "Run Doxygen C++ documentation tool." OFF)
|
||||||
if (SQLITECPP_RUN_DOXYGEN)
|
if (SQLITECPP_RUN_DOXYGEN)
|
||||||
find_package(Doxygen)
|
find_package(Doxygen)
|
||||||
if (DOXYGEN_FOUND)
|
if (DOXYGEN_FOUND)
|
||||||
@ -166,7 +166,7 @@ else (SQLITECPP_RUN_DOXYGEN)
|
|||||||
message(STATUS "SQLITECPP_RUN_DOXYGEN OFF")
|
message(STATUS "SQLITECPP_RUN_DOXYGEN OFF")
|
||||||
endif (SQLITECPP_RUN_DOXYGEN)
|
endif (SQLITECPP_RUN_DOXYGEN)
|
||||||
|
|
||||||
option(SQLITECPP_BUILD_EXAMPLES "Build examples." ON)
|
option(SQLITECPP_BUILD_EXAMPLES "Build examples." OFF)
|
||||||
if (SQLITECPP_BUILD_EXAMPLES)
|
if (SQLITECPP_BUILD_EXAMPLES)
|
||||||
# add the basic example executable
|
# add the basic example executable
|
||||||
add_executable(SQLiteCpp_example1 ${SQLITECPP_EXAMPLES})
|
add_executable(SQLiteCpp_example1 ${SQLITECPP_EXAMPLES})
|
||||||
@ -175,7 +175,7 @@ else(SQLITECPP_BUILD_EXAMPLES)
|
|||||||
message(STATUS "SQLITECPP_BUILD_EXAMPLES OFF")
|
message(STATUS "SQLITECPP_BUILD_EXAMPLES OFF")
|
||||||
endif(SQLITECPP_BUILD_EXAMPLES)
|
endif(SQLITECPP_BUILD_EXAMPLES)
|
||||||
|
|
||||||
option(SQLITECPP_BUILD_TESTS "Build and run tests." ON)
|
option(SQLITECPP_BUILD_TESTS "Build and run tests." OFF)
|
||||||
if (SQLITECPP_BUILD_TESTS)
|
if (SQLITECPP_BUILD_TESTS)
|
||||||
# add the subdirectory containing the CMakeLists.txt for the gtest library
|
# add the subdirectory containing the CMakeLists.txt for the gtest library
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user