mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
14 lines
360 B
CMake
14 lines
360 B
CMake
project("PowerSample")
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_COMPILER "clang-cl")
|
|
set(CMAKE_C_COMPILER "clang-cl")
|
|
add_compile_options("-march=x86-64-v3")
|
|
|
|
file(GLOB RecompiledFiles *.cpp)
|
|
add_library(PowerSample ${RecompiledFiles})
|
|
|
|
target_precompile_headers(PowerSample PUBLIC "ppc_recomp_shared.h")
|
|
|
|
target_link_libraries(PowerSample PUBLIC PowerUtils)
|