git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c097ef
)
Add an option to opt-out Firebird store.
author
Maksym Mamontov
<madf@madf.info>
Wed, 28 Dec 2022 14:32:19 +0000
(16:32 +0200)
committer
Maksym Mamontov
<madf@madf.info>
Wed, 28 Dec 2022 14:32:19 +0000
(16:32 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 6a3ff7499cbff3bb00a257dfa0171054178544bd..e887fc587e443b52919529e56dd38791787ad823 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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 )
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 )
# Grouping
option ( BUILD_ALL_MODS "Build all modules." OFF )
option ( BUILD_ALL_LIBS "Build all libraries." OFF )
@@
-92,6
+95,10
@@
if ( BUILD_ALL_MODS )
set ( BUILD_MOD_CAP_PCAP ON )
endif ( 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 )
if ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS )
set ( BUILD_LIB_IBPP ON )
endif ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS )