mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-17 12:14:13 +02:00
Enable project database export via CMake option
This commit is contained in:
@@ -25,8 +25,9 @@ add_definitions(-DQET_ALLOW_OVERRIDE_CTBTD_OPTION)
|
|||||||
# Comment the line below to deactivate the --config-dir option
|
# Comment the line below to deactivate the --config-dir option
|
||||||
add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
|
add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
|
||||||
|
|
||||||
# Comment the line below to deactivate the --data-dir option
|
# Enable project database export when requested by the build system.
|
||||||
add_definitions(-DQET_ALLOW_OVERRIDE_DD_OPTION)
|
option(QET_EXPORT_PROJECT_DB "Enable project database export" OFF)
|
||||||
|
|
||||||
#comment the line below to disable the project database export
|
if(QET_EXPORT_PROJECT_DB)
|
||||||
#add_definitions(-DQET_EXPORT_PROJECT_DB) #error Todo
|
add_compile_definitions(QET_EXPORT_PROJECT_DB)
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user