mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 00:16:45 +00:00
Add helper shortcut to 'renderdoccmd test' to run functional tests
* This invokes run_tests.py with any arguments but specifies the renderdoc module and python module paths automatically. Only works if built within the project repo itself as otherwise it won't locate the test script
This commit is contained in:
@@ -60,15 +60,6 @@ else()
|
||||
add_custom_command(OUTPUT RenderDoc.icns COMMAND touch RenderDoc.icns)
|
||||
endif()
|
||||
|
||||
# Make sure Python 3 is found
|
||||
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6 3.7)
|
||||
find_package(PythonInterp 3 REQUIRED)
|
||||
find_package(PythonLibs 3 REQUIRED)
|
||||
# we also need python3-config for swig
|
||||
if(NOT EXISTS "${PYTHON_EXECUTABLE}-config" AND NOT EXISTS "${PYTHON_EXECUTABLE}.${PYTHON_VERSION_MINOR}-config")
|
||||
message(FATAL_ERROR "We require ${PYTHON_EXECUTABLE}-config or ${PYTHON_EXECUTABLE}.${PYTHON_VERSION_MINOR}-config to build swig, please install the python dev package for your system.")
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
|
||||
# Need bison for swig
|
||||
|
||||
Reference in New Issue
Block a user