mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 06:09:57 +00:00
65de778b5c
* Only append compiler flags in cmake * add `RelWithDebInfo-clang` windows build * bump serializer initial buffer size to 32mb * extra flags for msvc * proper anaphoric goal macros * specify windows sdk version? * fix "Object files are not named properly" fake error * Update goal-lib.gc
132 lines
4.7 KiB
JSON
132 lines
4.7 KiB
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "linux-default",
|
|
"displayName": "Linux Debug",
|
|
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
},
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] },
|
|
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": { "sourceDir": "$env{HOME}/.vs/$ms{projectDirName}" }
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug-clang",
|
|
"displayName": "Windows Debug (clang-cl)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True",
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
},
|
|
{
|
|
"name": "Release-clang",
|
|
"displayName": "Windows Release (clang-cl)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True",
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
},
|
|
{
|
|
"name": "RelWithDebInfo-clang",
|
|
"displayName": "Windows RelWithDebInfo (clang-cl)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True",
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
},
|
|
{
|
|
"name": "Release-clang-static",
|
|
"displayName": "Windows Release - Static (clang-cl)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True",
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
"CMAKE_CXX_COMPILER": "clang-cl",
|
|
"BUILD_FOR_RELEASE": "true"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
},
|
|
{
|
|
"name": "Debug-msvc",
|
|
"displayName": "Windows Debug (msvc)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
},
|
|
{
|
|
"name": "Release-msvc",
|
|
"displayName": "Windows Release (msvc)",
|
|
"description": "Target Windows with the Visual Studio development environment.",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"INSTALL_GTEST": "True"
|
|
},
|
|
"vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
|
|
}
|
|
]
|
|
}
|