2024-09-18 15:19:20 +03:00
|
|
|
project("PowerSample")
|
|
|
|
|
2024-09-20 20:53:56 +03:00
|
|
|
add_compile_options(
|
2024-09-27 18:47:35 +03:00
|
|
|
"/D_HAS_EXCEPTIONS=0"
|
2024-09-22 23:54:17 +03:00
|
|
|
"/fp:strict"
|
2024-09-26 18:31:56 +03:00
|
|
|
"/GS-"
|
2024-09-27 18:47:35 +03:00
|
|
|
"/EHa-"
|
2024-10-01 00:09:18 +03:00
|
|
|
"-march=sandybridge"
|
2024-09-26 10:44:16 +03:00
|
|
|
"-fno-strict-aliasing")
|
2024-09-18 15:19:20 +03:00
|
|
|
|
|
|
|
file(GLOB RecompiledFiles *.cpp)
|
2024-09-18 15:29:15 +03:00
|
|
|
add_library(PowerSample ${RecompiledFiles})
|
2024-09-18 15:19:20 +03:00
|
|
|
|
|
|
|
target_precompile_headers(PowerSample PUBLIC "ppc_recomp_shared.h")
|