mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 13:07:15 +00:00
17 lines
431 B
CMake
17 lines
431 B
CMake
project("PowerSample")
|
|
|
|
set(CMAKE_CXX_COMPILER "clang-cl")
|
|
set(CMAKE_C_COMPILER "clang-cl")
|
|
add_compile_options(
|
|
"/clang:-march=x86-64-v3"
|
|
"/clang:-Wall"
|
|
"/clang:-Wno-unused-label"
|
|
"/clang:-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)
|