Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 57895b5

Browse files
committed
Added mysql and mingw
1 parent ecc768f commit 57895b5

File tree

6 files changed

+112
-1
lines changed

6 files changed

+112
-1
lines changed

mingw64/CMakeSettings.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"configurations": [
3+
{
4+
"environments": [
5+
{
6+
"environment": "mysql_env",
7+
"inheritEnvironments": [ "msvc_x64_x64" ],
8+
"PATH": "${env.PATH};F:\\CMake\\mysql-server\\bison\\GnuWin32\\bin"
9+
}
10+
],
11+
"name": "x64-Debug",
12+
"generator": "Ninja",
13+
"configurationType": "Debug",
14+
"inheritEnvironments": [
15+
"mysql_env", "msvc_x64_x64"
16+
],
17+
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
18+
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
19+
"cmakeCommandArgs": "",
20+
"buildCommandArgs": "-v",
21+
"ctestCommandArgs": "",
22+
"variables": [
23+
{
24+
"name": "CMAKE_TOOLCHAIN_FILE",
25+
"value": "F:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
26+
},
27+
28+
{
29+
"name": "VCPKG_TARGET_TRIPLE",
30+
"value": "x64-windows-static"
31+
},
32+
{
33+
"name": "WITH_BOOST",
34+
"value": "F:\\CMake\\Boost"
35+
},
36+
{
37+
"name": "DOWNLOAD_BOOST",
38+
"value": "1"
39+
},
40+
{
41+
"name": "OPENSSL_ROOT_DIR",
42+
"value": "F:\\vcpkg\\buildtrees\\openssl\\src\\openssl-1.0.2n"
43+
}
44+
]
45+
}
46+
]
47+
}

mingw64/Readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# mingw64
2+
This CMakeSettings sets up the necessary settings to get mingw64 (from msys2) to wor
3+
4+
It assumes a that your root for mingw64 is at C:\MSys
5+
1) You've installed to C:\Msys
6+
7+
8+

mysql-server/CMakeSettings.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"configurations": [
3+
{
4+
"environments": [
5+
{
6+
"environment": "mysql_env",
7+
"inheritEnvironments": [ "msvc_x64_x64" ],
8+
"PATH": "${env.PATH};F:\\CMake\\mysql-server\\bison\\GnuWin32\\bin"
9+
}
10+
],
11+
"name": "x64-Debug",
12+
"generator": "Ninja",
13+
"configurationType": "Debug",
14+
"inheritEnvironments": [
15+
"mysql_env", "msvc_x64_x64"
16+
],
17+
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
18+
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
19+
"cmakeCommandArgs": "",
20+
"buildCommandArgs": "-v",
21+
"ctestCommandArgs": "",
22+
"variables": [
23+
{
24+
"name": "CMAKE_TOOLCHAIN_FILE",
25+
"value": "F:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
26+
},
27+
28+
{
29+
"name": "VCPKG_TARGET_TRIPLE",
30+
"value": "x64-windows-static"
31+
},
32+
{
33+
"name": "WITH_BOOST",
34+
"value": "F:\\CMake\\Boost"
35+
},
36+
{
37+
"name": "DOWNLOAD_BOOST",
38+
"value": "1"
39+
},
40+
{
41+
"name": "OPENSSL_ROOT_DIR",
42+
"value": "F:\\vcpkg\\buildtrees\\openssl\\src\\openssl-1.0.2n"
43+
}
44+
]
45+
}
46+
]
47+
}

mysql-server/Readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# mysql-server
2+
This CMakeSettings sets up the necessary settings to get mysql to work.
3+
4+
It assumes a few things
5+
1) VCPkg is installed. It's using the path f:\VCPkg
6+
2) VCPkg has installed openssl
7+
3) VCPkg has installed boost
8+
9+
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# VS 14 Compiler
1+
# VC++ 14 Compiler
22
This CMakeSettings uses the Environment's tag to setup an environment for building with a VC 14 installation found at C:\ProgramFiles (x86)\Microsoft Visual Studio 14.0
33

44
It should be noted that this disables intellisense because the VS Dev 15 compiler is used for intellisense.

0 commit comments

Comments
 (0)