File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ set(headers
163
163
src/PythonQtUtils.h
164
164
src/PythonQtVariants.h
165
165
src/PythonQtPythonInclude.h
166
+ src/gui/PythonQtScriptingConsole.h
166
167
generated_cpp${generated_cpp_suffix}/PythonQt_QtBindings.h
167
168
)
168
169
@@ -258,6 +259,9 @@ install(TARGETS PythonQt
258
259
LIBRARY DESTINATION ${PythonQt_INSTALL_LIBRARY_DIR}
259
260
ARCHIVE DESTINATION ${PythonQt_INSTALL_ARCHIVE_DIR} )
260
261
install (FILES ${headers} DESTINATION ${PythonQt_INSTALL_INCLUDE_DIR} )
262
+ install (FILES ${headers_gui} DESTINATION ${PythonQt_INSTALL_INCLUDE_DIR} /gui )
263
+
264
+ ADD_SUBDIRECTORY (extensions )
261
265
262
266
#-----------------------------------------------------------------------------
263
267
# Testing
Original file line number Diff line number Diff line change
1
+ option (PythonQt_Extensions "Build PythonQt extensions." OFF )
2
+
3
+ if (PythonQt_Extensions )
4
+ if (NOT PythonQt_Wrap_QtAll )
5
+ MESSAGE (FATAL_ERROR "Cannot build PythonQt_QtAll without PythonQt_Wrap_QtAll set to ON" )
6
+ endif (NOT PythonQt_Wrap_QtAll )
7
+ set (qtall_headers
8
+ PythonQt_QtAll/PythonQt_QtAll.h )
9
+
10
+ set (qtall_sources
11
+ PythonQt_QtAll/PythonQt_QtAll.cpp )
12
+
13
+ include_directories (generated_cpp${generated_cpp_suffix} )
14
+
15
+ add_library (PythonQt_QtAll ${qtall_sources} )
16
+ target_link_libraries (PythonQt_QtAll PythonQt )
17
+
18
+ install (TARGETS PythonQt_QtAll
19
+ RUNTIME DESTINATION ${PythonQt_INSTALL_RUNTIME_DIR}
20
+ LIBRARY DESTINATION ${PythonQt_INSTALL_LIBRARY_DIR}
21
+ ARCHIVE DESTINATION ${PythonQt_INSTALL_ARCHIVE_DIR} )
22
+ install (FILES ${qtall_headers} DESTINATION ${PythonQt_INSTALL_INCLUDE_DIR} )
23
+ endif ()
You can’t perform that action at this time.
0 commit comments