We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ec8c9 commit 5b98a7fCopy full SHA for 5b98a7f
stubs/CMakeLists.txt
@@ -5,6 +5,9 @@ find_package(Python3 COMPONENTS Interpreter REQUIRED)
5
6
file(REAL_PATH "${PROJECT_SOURCE_DIR}/../" ABSOLUTE_API_PATH)
7
8
+# Remove long path prefix because it makes cl.exe very angry
9
+string(REGEX REPLACE "^//\\?/" "" ABSOLUTE_API_PATH "${ABSOLUTE_API_PATH}")
10
+
11
# Generate stubs.cpp with implementations of all the BNAPI functions
12
add_custom_command(
13
OUTPUT ${PROJECT_BINARY_DIR}/stubs.cpp
0 commit comments