mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-12 05:19:15 -06:00
qmake prohibit disabling tom in tom.pri
It's illogical to allow disabling tom if the user is trying to link against the tom-related code, so prohibit this scenario. [skip ci]
This commit is contained in:
@@ -21,8 +21,10 @@ CONFIG(dll, dll|shared|static|staticlib): \
|
||||
|
||||
# Disable the ORM-related source code
|
||||
disable_orm: DEFINES *= TINYORM_DISABLE_ORM
|
||||
# Disable the tom-related source code
|
||||
disable_tom: DEFINES *= TINYORM_DISABLE_TOM
|
||||
# Prohibit disabling the tom-related source code and header files
|
||||
disable_tom: \
|
||||
error( "Disabling the tom is forbidden in the tom.pri, please remove\
|
||||
the 'disable_tom' configuration." )
|
||||
|
||||
# File version
|
||||
# ---
|
||||
|
||||
Reference in New Issue
Block a user