File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,14 @@ message(STATUS "Build examples: ${BUILD_EXAMPLES}")
9696include (deps)
9797
9898include (cpp)
99+ foreach (SUBPROJECT IN ITEMS Foo Bar FooBar)
100+ add_subdirectory (${SUBPROJECT} )
101+ endforeach ()
99102
100103include (python)
104+ foreach (SUBPROJECT IN ITEMS Foo Bar FooBar)
105+ add_subdirectory (${SUBPROJECT} /python)
106+ endforeach ()
101107
102108add_subdirectory (tests)
103109
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ function(add_cpp_test FILE_NAME)
6565 message (STATUS "Configuring test ${FILE_NAME} : ...DONE" )
6666endfunction ()
6767
68- add_subdirectory (Foo)
69- add_subdirectory (Bar)
70- add_subdirectory (FooBar)
71-
7268###################
7369## CMake Install ##
7470###################
Original file line number Diff line number Diff line change @@ -135,11 +135,6 @@ message(STATUS "Python project: ${PYTHON_PROJECT}")
135135set (PYTHON_PROJECT_DIR ${PROJECT_BINARY_DIR} /python/${PYTHON_PROJECT} )
136136message (STATUS "Python project build path: ${PYTHON_PROJECT_DIR} " )
137137
138- # Swig wrap all libraries
139- foreach (SUBPROJECT IN ITEMS Foo Bar FooBar)
140- add_subdirectory (${SUBPROJECT} /python)
141- endforeach ()
142-
143138#######################
144139## Python Packaging ##
145140#######################
You can’t perform that action at this time.
0 commit comments