-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,6 +294,9 @@ ENDIF (WITH_TOUCH) | |
# search for QScintilla2 (C++ lib) | ||
FIND_PACKAGE(QScintilla REQUIRED) | ||
|
||
# ModelTest | ||
SET(ENABLE_MODELTEST FALSE CACHE BOOL "Enable QT ModelTest (not for production)") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
strk
Contributor
|
||
|
||
IF (ENABLE_TESTS) | ||
SET( QT_USE_QTTEST TRUE ) | ||
ENABLE_TESTING() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,5 +58,7 @@ | |
|
||
#cmakedefine HAVE_SERVER_PYTHON_PLUGINS | ||
|
||
#cmakedefine ENABLE_MODELTEST | ||
|
||
#endif | ||
|
Wouldn't it be better to link this option to CMAKE_BUILD_TYPE=Debug
or use it in test instead of core
or enable it in .travis.yml?