Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85542710
D326.1783654883.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
627 B
Referenced Files
None
Subscribers
None
D326.1783654883.diff
View Options
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,7 @@
set(KF_MIN_VERSION 6.0.0)
option(kazv_LINK_BREEZE_ICONS "Link to Breeze icons library" OFF)
+option(kazv_BUILD_TESTS "Build tests" ON)
option(kazv_ENABLE_APPIUM_TESTS "Run appium tests" "")
set(kazv_LINK_BREEZE_ICONS_MACRO 0)
if(kazv_LINK_BREEZE_ICONS)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -317,4 +317,6 @@
endif()
install(TARGETS kazv ${kazv_INSTALL_ARGS})
-add_subdirectory(tests)
+if(kazv_BUILD_TESTS)
+ add_subdirectory(tests)
+endif()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 9, 8:41 PM (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1677420
Default Alt Text
D326.1783654883.diff (627 B)
Attached To
Mode
D326: Add option to not build tests
Attached
Detach File
Event Timeline
Log In to Comment