|
1 | 1 | {
|
2 |
| - "version": 3, |
| 2 | + "version": 2, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 20, |
| 6 | + "patch": 0 |
| 7 | + }, |
3 | 8 | "configurePresets": [
|
4 | 9 | {
|
5 |
| - "name": "base", |
6 |
| - "description": "Base Build Configuration", |
| 10 | + "name": "windows-tiles-sounds-x64-msvc", |
7 | 11 | "binaryDir": "${sourceDir}/out/build/${presetName}",
|
8 |
| - "installDir": "${sourceDir}/out/install/${presetName}", |
9 |
| - "hidden": true |
10 |
| - }, |
11 |
| - { |
12 |
| - "name": "windows", |
13 |
| - "description": "Windows Build Configuration", |
14 |
| - "condition": { |
15 |
| - "type": "allOf", |
16 |
| - "conditions": [ |
17 |
| - { |
18 |
| - "type": "equals", |
19 |
| - "lhs": "$env{MSYSTEM}", |
20 |
| - "rhs": "" |
21 |
| - }, |
22 |
| - { |
23 |
| - "type": "equals", |
24 |
| - "lhs": "${hostSystemName}", |
25 |
| - "rhs": "Windows" |
26 |
| - } |
27 |
| - ] |
28 |
| - }, |
29 |
| - "cacheVariables": { |
30 |
| - "VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/build-scripts" |
31 |
| - }, |
32 |
| - "hidden": true |
33 |
| - }, |
34 |
| - { |
35 |
| - "name": "MSVC", |
36 |
| - "inherits": [ "windows" ], |
37 |
| - "description": "Visual C++ Configuration", |
38 |
| - "toolchainFile": "${sourceDir}/build-scripts/MSVC.cmake", |
39 |
| - "cacheVariables": { |
40 |
| - "VCPKG_ROOT": "C:/vcpkg" |
41 |
| - }, |
42 |
| - "hidden": true |
43 |
| - }, |
44 |
| - { |
45 |
| - "name": "x64-windows-static", |
46 |
| - "inherits": [ "base", "MSVC" ], |
47 |
| - "description": "Link Statically", |
| 12 | + "displayName": "Windows Tiles Sounds x64 MSVC", |
| 13 | + "description": "Target Windows (64-bit) with the Visual Studio development environment.", |
| 14 | + "generator": "Ninja Multi-Config", |
48 | 15 | "cacheVariables": {
|
| 16 | + "CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/${presetName}.cmake", |
| 17 | + "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build-scripts/MSVC.cmake", |
49 | 18 | "VCPKG_TARGET_TRIPLET": "x64-windows-static",
|
50 |
| - "DYNAMIC_LINKING": "False" |
51 |
| - }, |
52 |
| - "hidden": true |
| 19 | + "VCPKG_ROOT": "C:/vcpkg", |
| 20 | + "DYNAMIC_LINKING": "False", |
| 21 | + "RELEASE": "True", |
| 22 | + "CURSES": "False", |
| 23 | + "LOCALIZE": "True", |
| 24 | + "TILES": "True", |
| 25 | + "SOUND": "True", |
| 26 | + "TESTS": "False" |
| 27 | + } |
53 | 28 | },
|
54 | 29 | {
|
55 |
| - "name": "windows-tiles-sounds-x64-msvc", |
56 |
| - "inherits": [ "x64-windows-static" ], |
57 |
| - "displayName": "Windows Tiles Sounds x64 MSVC", |
58 |
| - "description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)", |
| 30 | + "name": "linux-tiles-sounds-x64", |
| 31 | + "binaryDir": "${sourceDir}/out/build/${presetName}", |
| 32 | + "displayName": "Linux Tiles Sounds x64", |
| 33 | + "description": "Target Linux (64-bit) with the GCC development environment.", |
| 34 | + "generator": "Ninja Multi-Config", |
59 | 35 | "cacheVariables": {
|
60 |
| - "CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/windows-tiles-sounds-x64-msvc.cmake", |
61 |
| - "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
| 36 | + "VCPKG_TARGET_TRIPLET": "x64-linux", |
| 37 | + "CMAKE_TOOLCHAIN_FILE": "/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake", |
| 38 | + "VCPKG_MANIFEST_DIR": "msvc-full-features/", |
| 39 | + "DYNAMIC_LINKING": "False", |
62 | 40 | "RELEASE": "True",
|
63 | 41 | "CURSES": "False",
|
64 | 42 | "LOCALIZE": "True",
|
65 | 43 | "TILES": "True",
|
66 | 44 | "SOUND": "True",
|
67 |
| - "TESTS": "False" |
| 45 | + "TESTS": "False" |
68 | 46 | }
|
69 | 47 | }
|
| 48 | + ], |
| 49 | + "buildPresets": [ |
| 50 | + { |
| 51 | + "name": "linux-tiles-sounds-x64", |
| 52 | + "configurePreset": "linux-tiles-sounds-x64" |
| 53 | + } |
70 | 54 | ]
|
71 | 55 | }
|
0 commit comments