Skip to content

Commit e0aba23

Browse files
committed
CMake - emscripten hack
Add a commented out line for the emscripten hack to indicate what to do when compiling for the platform. resolves #99
1 parent c5d45ad commit e0aba23

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/godot-cpp/src")
2626
endif()
2727
add_subdirectory(godot-cpp SYSTEM)
2828

29+
# When compiling for emscripten, this toolchainhack needs to be included.
30+
# set(CMAKE_PROJECT_<project-name>_INCLUDE ${godot-cpp_SOURCE_DIR}/cmake/emsdkHack.cmake)
31+
2932
# Add godot-cpp's module path and include the exported functions.
3033
# This is made available for documentation generation
3134
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${godot-cpp_SOURCE_DIR}/cmake")

0 commit comments

Comments
 (0)