CMake - emscripten hack
Add a commented out line for the emscripten hack to indicate what to do when compiling for the platform. resolves #99
This commit is contained in:
@@ -26,6 +26,9 @@ if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/godot-cpp/src")
|
||||
endif()
|
||||
add_subdirectory(godot-cpp SYSTEM)
|
||||
|
||||
# When compiling for emscripten, this toolchainhack needs to be included.
|
||||
# set(CMAKE_PROJECT_<project-name>_INCLUDE ${godot-cpp_SOURCE_DIR}/cmake/emsdkHack.cmake)
|
||||
|
||||
# Create the gen directory at configure time so IDEs can see generated headers immediately after generate_bindings
|
||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/godot-cpp/gen/include")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user