Restore standalone Windows and Linux build and debug support
This commit is contained in:
@@ -9,33 +9,64 @@
|
||||
{
|
||||
"name": "linux",
|
||||
"displayName": "Linux (Make, desktop)",
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
},
|
||||
"generator": "Unix Makefiles",
|
||||
"binaryDir": "${sourceDir}/build-desktop",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"FLUIDSIM_BUILD_DESKTOP": "ON"
|
||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
||||
"FLUIDSIM_BUILD_DESKTOP": "ON",
|
||||
"BUILD_TESTING": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows",
|
||||
"displayName": "Windows (Visual Studio 2022, desktop)",
|
||||
"generator": "Visual Studio 17 2022",
|
||||
"architecture": "x64",
|
||||
"binaryDir": "${sourceDir}/build/windows",
|
||||
"displayName": "Windows x64 (standalone GCC, desktop)",
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Windows"
|
||||
},
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/out/build/windows-gcc",
|
||||
"environment": {
|
||||
"PATH": "$penv{LOCALAPPDATA}/FluidSimTools/mingw64/bin;$penv{PATH}"
|
||||
},
|
||||
"cacheVariables": {
|
||||
"FLUIDSIM_BUILD_DESKTOP": "ON"
|
||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
||||
"CMAKE_C_COMPILER": "$penv{LOCALAPPDATA}/FluidSimTools/mingw64/bin/gcc.exe",
|
||||
"CMAKE_CXX_COMPILER": "$penv{LOCALAPPDATA}/FluidSimTools/mingw64/bin/g++.exe",
|
||||
"CMAKE_MAKE_PROGRAM": "$penv{LOCALAPPDATA}/FluidSimTools/mingw64/bin/ninja.exe",
|
||||
"FLUIDSIM_BUILD_DESKTOP": "ON",
|
||||
"BUILD_TESTING": "ON"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "linux",
|
||||
"configurePreset": "linux"
|
||||
"configurePreset": "linux",
|
||||
"jobs": 8
|
||||
},
|
||||
{
|
||||
"name": "windows",
|
||||
"configurePreset": "windows",
|
||||
"configuration": "Release"
|
||||
"jobs": 8
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "linux",
|
||||
"configurePreset": "linux",
|
||||
"output": { "outputOnFailure": true }
|
||||
},
|
||||
{
|
||||
"name": "windows",
|
||||
"configurePreset": "windows",
|
||||
"output": { "outputOnFailure": true }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user