You could avoid database resources compilation to ease the add of requirements:
> cmake -DSKIP_DATABASE_BUILD=1 .
FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
SET(dirlist "")
FOREACH(child ${children})
+
+ # EXCLUDE DATABASE RESOURCES (-DSKIP_DATABASE_BUILD)
+ if(SKIP_DATABASE_BUILD)
+ string(REGEX MATCH "dbms|dbos" DATABASE ${child})
+ IF(DATABASE)
+ CONTINUE()
+ ENDIF()
+ ENDIF()
+
IF(IS_DIRECTORY ${curdir}/${child})
LIST(APPEND dirlist ${child})
ENDIF()
> cmake -DCMAKE_BUILD_TYPE=Debug .
> cmake -DCMAKE_BUILD_TYPE=Release .
+You could avoid database resources compilation to ease the add of requirements:
+
+ > cmake -DSKIP_DATABASE_BUILD=1 .
+
## Clean project
> make clean