mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
16 lines
365 B
CMake
16 lines
365 B
CMake
project("PowerSample")
|
|
|
|
add_compile_options(
|
|
"/fp:strict"
|
|
"-march=x86-64-v3"
|
|
"-fno-strict-aliasing"
|
|
"-Wno-unused-label"
|
|
"-Wno-unused-variable")
|
|
|
|
file(GLOB RecompiledFiles *.cpp)
|
|
add_library(PowerSample ${RecompiledFiles})
|
|
|
|
target_precompile_headers(PowerSample PUBLIC "ppc_recomp_shared.h")
|
|
|
|
target_link_libraries(PowerSample PUBLIC PowerUtils)
|