mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
Small fixes to workflows, bintoc/shaderc, CMakePresets
This commit is contained in:
@@ -3,7 +3,7 @@ cmake_policy(VERSION 3.15...3.20)
|
||||
project(bintoc LANGUAGES C)
|
||||
|
||||
add_executable(bintoc bintoc.c)
|
||||
add_subdirectory(../../extern/athena/extern/zlib zlib)
|
||||
add_subdirectory(../../extern/athena/extern/zlib zlib EXCLUDE_FROM_ALL)
|
||||
target_link_libraries(bintoc PRIVATE ${ZLIB_LIBRARIES})
|
||||
target_include_directories(bintoc PRIVATE ${ZLIB_INCLUDE_DIR})
|
||||
|
||||
|
||||
@@ -73,8 +73,8 @@ endif ()
|
||||
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY true)
|
||||
|
||||
add_custom_target(atdna) # avoid building
|
||||
add_subdirectory(../../extern/athena athena)
|
||||
add_subdirectory(../../extern/boo boo)
|
||||
add_subdirectory(../../extern/athena athena EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(../../extern/boo boo EXCLUDE_FROM_ALL)
|
||||
|
||||
add_library(hecl-compilers ../lib/Compilers.cpp ../lib/WideStringConvert.cpp)
|
||||
get_target_property(BOO_INCLUDES boo INTERFACE_INCLUDE_DIRECTORIES)
|
||||
@@ -96,4 +96,4 @@ if (NOT WIN32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(TARGETS shaderc DESTINATION bin)
|
||||
install(TARGETS shaderc DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user