mirror of https://github.com/zeldaret/botw.git
23 lines
558 B
CMake
23 lines
558 B
CMake
project(gsys CXX ASM)
|
|
|
|
add_library(gsys OBJECT
|
|
include/gsys/gsysORUtil.h
|
|
include/gsys/gsysParticleConfig.h
|
|
src/gsys/gsysParticleConfig.cpp
|
|
)
|
|
|
|
target_compile_options(gsys PRIVATE -fno-exceptions)
|
|
target_compile_options(gsys PRIVATE -fno-strict-aliasing)
|
|
target_compile_options(gsys PRIVATE -Wno-invalid-offsetof)
|
|
target_include_directories(gsys PUBLIC include/)
|
|
|
|
if(NOT TARGET sead)
|
|
add_subdirectory(../sead)
|
|
endif()
|
|
target_link_libraries(gsys PUBLIC sead)
|
|
|
|
if(NOT TARGET agl)
|
|
add_subdirectory(../agl)
|
|
endif()
|
|
target_link_libraries(gsys PUBLIC agl)
|