mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-10 15:51:29 +00:00
* Cleanup & Reorganize Makefile for Dev Containers * Fix Makefile & misc fixes --------- Co-authored-by: m0th <43860202+m0th@users.noreply.github.com>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 19,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "linux-debug",
|
|
"displayName": "Linux Debug",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
|
|
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
|
|
"EQEMU_BUILD_LOGIN": "ON",
|
|
"EQEMU_BUILD_TESTS": "ON",
|
|
"EQEMU_ADD_PROFILER": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-release",
|
|
"displayName": "Linux Release",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/release",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
|
|
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
|
|
"EQEMU_BUILD_LOGIN": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "win-msvc",
|
|
"displayName": "Windows MSVC (VS 2022)",
|
|
"generator": "Visual Studio 17 2022",
|
|
"binaryDir": "${sourceDir}/build/{presetName}",
|
|
"architecture": { "value": "x64" },
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release",
|
|
"EQEMU_BUILD_LOGIN": "ON",
|
|
"EQEMU_BUILD_TESTS": "ON"
|
|
}
|
|
}
|
|
]
|
|
} |