mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 19:52:37 +01:00
18c01f7151
* Fixed compilation with cmake on Windows * cleanup on post build actions for Windows on cmake solution + minor cleanup * fix link error on IntelJITEvents
84 lines
2.1 KiB
JSON
84 lines
2.1 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "gcc",
|
|
"generator": "Ninja",
|
|
"binaryDir": "build-gcc",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"USE_NATIVE_INSTRUCTIONS": "ON",
|
|
"USE_PRECOMPILED_HEADERS": "ON",
|
|
"USE_FAUDIO": "OFF",
|
|
"USE_SYSTEM_CURL": "OFF",
|
|
"USE_SYSTEM_ZLIB": "OFF",
|
|
"USE_SYSTEM_LIBPNG": "OFF",
|
|
"BUILD_LLVM": "OFF",
|
|
"STATIC_LINK_LLVM": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "clang",
|
|
"generator": "Ninja",
|
|
"binaryDir": "build-clang64",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"USE_NATIVE_INSTRUCTIONS": "ON",
|
|
"USE_PRECOMPILED_HEADERS": "ON",
|
|
"USE_FAUDIO": "OFF",
|
|
"USE_SYSTEM_CURL": "OFF",
|
|
"USE_SYSTEM_ZLIB": "OFF",
|
|
"USE_SYSTEM_LIBPNG": "OFF",
|
|
"LLVM_ENABLE_LIBCXX": "ON",
|
|
"BUILD_LLVM": "OFF",
|
|
"STATIC_LINK_LLVM": "ON"
|
|
},
|
|
"environment": {
|
|
"CXX": "clang++",
|
|
"CC": "clang"
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc",
|
|
"displayName": "Windows x64",
|
|
"generator": "Visual Studio 17 2022",
|
|
"binaryDir": "build-msvc",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"USE_NATIVE_INSTRUCTIONS": "ON",
|
|
"USE_PRECOMPILED_HEADERS": "ON",
|
|
"USE_FAUDIO": "OFF",
|
|
"USE_SYSTEM_CURL": "OFF",
|
|
"USE_SYSTEM_ZLIB": "OFF",
|
|
"USE_SYSTEM_OPENAL": "OFF",
|
|
"BUILD_LLVM": "ON",
|
|
"STATIC_LINK_LLVM": "ON"
|
|
},
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"hostOS": [
|
|
"Windows"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "msvc-debug",
|
|
"configurePreset": "msvc",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "msvc-release",
|
|
"configurePreset": "msvc",
|
|
"configuration": "Release"
|
|
}
|
|
]
|
|
}
|