Core/Build: Add the possibility to link libraries dynamically.

* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
This commit is contained in:
Aokromes committed 2016-07-15 20:35:32 +02:00
1 parent 9321d098e4
commit 9cf3bdf125
7 files changed
+82 -4

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ option(SCRIPTS "Build core with scripts included"
option(TOOLS "Build map/vmap/mmap 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(WITH_DYNAMIC_LINKING "Enable dynamic library linking." 0)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
set(WITH_SOURCE_TREE "no" CACHE STRING "Build the source tree for IDE's.")