aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
diff options
context:
space:
mode:
authorXanadu <none@none>2010-09-07 01:26:57 +0200
committerXanadu <none@none>2010-09-07 01:26:57 +0200
commit220c20729441931d26626f4370bbb613a9185e9e (patch)
treed93174fdc1f9e2e556aa4ef035657023063f08b2 /cmake/options.cmake
parentda5569bee68be1dcd416cdbca7584f9ef5e739ee (diff)
BuildSystem/Windows: * Added 5.1.50 (GA) MySQL client sources for crosscompiling (or lazy) windows people.
* Added an option to autosearch for your own installed MySQL as before. Note that default setting is to use the internal MySQL. * You can now build 32-bit even if your MySQL is x64 and vice versa. * Recommended MySQL server version for use with provided MySQL client sources is 5.1.x. * If your server version is different, let CMake autofind and use it instead (check EXTERNAL_MYSQL option) --HG-- branch : trunk
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r--cmake/options.cmake23
1 files changed, 14 insertions, 9 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 5a580eff290..1e7374d1287 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -8,12 +8,17 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-option(SERVERS "Build worldserver and authserver" 1)
-option(SCRIPTS "Build core with scripts included" 1)
-option(TOOLS "Build map/vmap extraction/assembler tools" 0)
-option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
-option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
-option(USE_SFMT "Use SFMT as random numbergenerator" 0)
-option(WITH_WARNINGS "Show all warnings during compile" 1)
-option(WITH_COREDEBUG "Include additional debug-code in core" 0)
-option(WITH_SQL "Copy SQL files during installation" 0)
+option(SERVERS "Build worldserver and authserver" 1)
+option(SCRIPTS "Build core with scripts included" 1)
+option(TOOLS "Build map/vmap extraction/assembler tools" 0)
+option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
+option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
+option(USE_SFMT "Use SFMT as random numbergenerator" 0)
+if(WIN32)
+ option(EXTERNAL_MYSQL "Use your own installed MySQL instead of the internal one" 0)
+else(WIN32)
+ set(EXTERNAL_MYSQL 0)
+endif(WIN32)
+option(WITH_WARNINGS "Show all warnings during compile" 1)
+option(WITH_COREDEBUG "Include additional debug-code in core" 0)
+option(WITH_SQL "Copy SQL files during installation" 0)