File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,25 @@ set(PYTHONQT_SUFFIX Qt${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}-Python${Python3_VE
82
82
include_directories (src)
83
83
add_subdirectory (generator)
84
84
add_subdirectory (src)
85
- # HACK add_subdirectory(extensions)
86
- # HACK add_subdirectory(tests)
87
- # HACK add_subdirectory(examples)
85
+
86
+ #-----------------------------------------------------------------------------
87
+ # Extensions
88
+ option (BUILD_EXTENSIONS "Build the extensions tree." OFF )
89
+ if (BUILD_EXTENSIONS)
90
+ add_subdirectory (extensions)
91
+ endif ()
92
+
93
+ #-----------------------------------------------------------------------------
94
+ # Testing
95
+ option (BUILD_TESTING "Build the testing tree." OFF )
96
+ if (BUILD_TESTING)
97
+ include (CTest)
98
+ add_subdirectory (tests)
99
+ endif ()
100
+
101
+ #-----------------------------------------------------------------------------
102
+ # Examples
103
+ option (BUILD_EXAMPLES "Build the examples tree." OFF )
104
+ if (BUILD_EXAMPLES)
105
+ add_subdirectory (examples)
106
+ endif ()
You can’t perform that action at this time.
0 commit comments