mirror of
https://github.com/godotengine/godot-cpp.git
synced 2025-12-31 01:48:45 +03:00
Merge pull request #1720 from enetheru/generator_target
CMake: Add generate_bindings custom target
This commit is contained in:
@@ -252,6 +252,9 @@ function( godotcpp_generate )
|
||||
"${GODOT_PRECISION}"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}" )
|
||||
|
||||
add_custom_target( godot-cpp.generate_bindings DEPENDS ${GENERATED_FILES_LIST} )
|
||||
set_target_properties( godot-cpp.generate_bindings PROPERTIES FOLDER "godot-cpp" )
|
||||
|
||||
### Platform is derived from the toolchain target
|
||||
# See GeneratorExpressions PLATFORM_ID and CMAKE_SYSTEM_NAME
|
||||
string( CONCAT SYSTEM_NAME
|
||||
|
||||
Reference in New Issue
Block a user