]> git.stg.codes - stg.git/blobdiff - CMakeLists.txt
Merge remote-tracking branch 'github/master'
[stg.git] / CMakeLists.txt
index 7e8fd09a25b1532863e069e94903c6a5c8ef07c4..e887fc587e443b52919529e56dd38791787ad823 100644 (file)
@@ -32,6 +32,9 @@ option ( BUILD_MOD_RPCCONFIG "Build XML-RPC configuretion STG module." OFF )
 option ( BUILD_MOD_CAP_PCAP "Build PCap capture STG module." OFF )
 option ( BUILD_MOD_CAP_NFQUEUE "Build NFQueue capture STG module." OFF )
 
+# Firebird is getting deprecated, negation option
+option ( BUILD_NO_MOD_STORE_FIREBIRD "Do not build Firebird store STG module." OFF )
+
 # Grouping
 option ( BUILD_ALL_MODS "Build all modules." OFF )
 option ( BUILD_ALL_LIBS "Build all libraries." OFF )
@@ -39,6 +42,9 @@ option ( BUILD_TESTS "Build tests." OFF )
 option ( BUILD_ALL "Build binaries, libraries and tests." OFF )
 option ( ENABLE_COVERAGE "Enable code coverage analysis." OFF )
 
+# CPPCheck-related
+option ( CPPCHECK_FOREIGN "Run cppcheck over foreign lib code" OFF )
+
 if ( BUILD_ALL )
     set ( BUILD_ALL_MODS ON )
     set ( BUILD_ALL_LIBS ON )
@@ -89,6 +95,10 @@ if ( BUILD_ALL_MODS )
     set ( BUILD_MOD_CAP_PCAP ON )
 endif ( BUILD_ALL_MODS )
 
+if ( BUILD_NO_MOD_STORE_FIREBIRD )
+    set ( BUILD_MOD_STORE_FIREBIRD OFF )
+endif ( BUILD_NO_MOD_STORE_FIREBIRD )
+
 if ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS )
     set ( BUILD_LIB_IBPP ON )
 endif ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS )