XenonRecomp/PowerSample/CMakeLists.txt

17 lines
431 B
CMake
Raw Normal View History

project("PowerSample")
set(CMAKE_CXX_COMPILER "clang-cl")
set(CMAKE_C_COMPILER "clang-cl")
2024-09-20 20:53:56 +03:00
add_compile_options(
2024-09-21 16:59:55 +03:00
"/clang:-march=x86-64-v3"
2024-09-20 20:53:56 +03:00
"/clang:-Wall"
"/clang:-Wno-unused-label"
2024-09-21 16:59:55 +03:00
"/clang:-Wno-unused-variable")
file(GLOB RecompiledFiles *.cpp)
2024-09-18 15:29:15 +03:00
add_library(PowerSample ${RecompiledFiles})
target_precompile_headers(PowerSample PUBLIC "ppc_recomp_shared.h")
target_link_libraries(PowerSample PUBLIC PowerUtils)