mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Merge branch 'main' of https://github.com/geode-sdk/sdk
This commit is contained in:
commit
a8d855bd3b
2 changed files with 2 additions and 3 deletions
|
@ -59,7 +59,7 @@ function(setup_geode_mod)
|
|||
|
||||
set_source_files_properties(${GEODE_CODEGEN_DIR}/GeneratedSource.cpp PROPERTIES GENERATED 1)
|
||||
target_sources(${PROJECT_NAME} PRIVATE ${GEODE_CODEGEN_DIR}/GeneratedSource.cpp)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${GEODE_CODEGEN_DIR}/..)
|
||||
#target_link_libraries(${PROJECT_NAME} fmt)
|
||||
|
||||
if (DEFINED GEODE_CODEGEN_BUILD)
|
||||
|
|
|
@ -23,9 +23,8 @@ function(create_geode_file proname)
|
|||
message(STATUS "Installing ${proname} in geode/mods after build")
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
add_custom_target(${proname}_PACKAGE ALL
|
||||
DEPENDS ${proname}
|
||||
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/runEveryTime
|
||||
COMMAND ${GEODE_CLI} pkg ${CMAKE_CURRENT_SOURCE_DIR} $<TARGET_FILE_DIR:${proname}> $<TARGET_FILE_DIR:${proname}>/${proname}.geode ${INSTALL_FLAGS} --cached
|
||||
VERBATIM USES_TERMINAL
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue