mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Let docs build pick release or development built modules
This commit is contained in:
+5
-3
@@ -26,11 +26,13 @@ import struct
|
||||
|
||||
# path to module libraries for windows
|
||||
if struct.calcsize("P") == 8:
|
||||
modulepath = '../x64/Development'
|
||||
binpath = '../x64/'
|
||||
else:
|
||||
modulepath = '../Win32/Development'
|
||||
binpath = '../Win32/'
|
||||
|
||||
sys.path.insert(0, os.path.abspath(modulepath))
|
||||
# Prioritise release over development builds
|
||||
sys.path.insert(0, os.path.abspath(binpath + 'Development'))
|
||||
sys.path.insert(0, os.path.abspath(binpath + 'Release'))
|
||||
|
||||
# path to module libraries for linux
|
||||
sys.path.insert(0, os.path.abspath('../build/bin'))
|
||||
|
||||
Reference in New Issue
Block a user