Skip to content

Commit

Permalink
Add a CMake preset for MSYS2 + MinGW64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Jan 23, 2024
1 parent 24e3a7a commit 752520c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
"patch": 0
},
"configurePresets": [
{
"name": "windows-tiles-sounds-x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Windows Tiles Sounds x64 MSYS2 (MinGW)",
"description": "Target Windows (64-bit) with the MingGW Win64 development environment.",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"DYNAMIC_LINKING": "False",
"CURSES": "False", "LOCALIZE": "True", "TILES": "True", "SOUND": "True", "TESTS": "True",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "windows-tiles-sounds-x64-msvc",
"binaryDir": "${sourceDir}/out/build/${presetName}",
Expand Down Expand Up @@ -53,6 +65,10 @@
}
],
"buildPresets": [
{
"name": "windows-tiles-sounds-x64",
"configurePreset": "windows-tiles-sounds-x64"
},
{
"name": "linux-tiles-sounds-x64",
"configurePreset": "linux-tiles-sounds-x64"
Expand Down

0 comments on commit 752520c

Please sign in to comment.