Re-arrange CMakeLists.txt a bit to separate qrenderdoc & pyrenderdoc

* Now you can build the python modules without building the full UI,
  which is mostly useful for docs builds so we can do a minimal compile
  and still generate the docs.
This commit is contained in:
baldurk
2017-12-19 18:05:25 +00:00
parent 04d38bdfe5
commit b15422f4c1
3 changed files with 26 additions and 13 deletions
+2 -2
View File
@@ -78,8 +78,8 @@ set_target_properties(_renderdoc PROPERTIES PREFIX "")
set_target_properties(_qrenderdoc PROPERTIES PREFIX "")
# Make sure we build after the wrappers are generated
add_dependencies(_renderdoc build-qrenderdoc)
add_dependencies(_qrenderdoc build-qrenderdoc)
add_dependencies(_renderdoc swig-bindings)
add_dependencies(_qrenderdoc swig-bindings)
# Copy in the .py wrappers from qrenderdoc's build
add_custom_command(