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 75f1a80 commit 48cc656Copy full SHA for 48cc656
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