summaryrefslogtreecommitdiff
path: root/src/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2021-04-22 03:16:12 +0700
committerGitHub <noreply@github.com>2021-04-21 22:16:12 +0200
commit325dcfc9a6c9a83f9e107a06e11b8280feda2a5d (patch)
tree70c246b197294f920a632057c250cb77645ab14a /src/cmake/showoptions.cmake
parent2c5cb29ad49063b7b0e4085f8624ab32786d382d (diff)
feat(Core/Build): add the possibility to link libraries dynamically (#5348)
Diffstat (limited to 'src/cmake/showoptions.cmake')
-rw-r--r--src/cmake/showoptions.cmake16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake
index 5822cd82cd..3ee69ae695 100644
--- a/src/cmake/showoptions.cmake
+++ b/src/cmake/showoptions.cmake
@@ -134,7 +134,7 @@ else()
message("* Enable extra logging functions : No (default)")
endif()
-if(WIN32 AND NOT CMAKE_VERSION VERSION_LESS 2.8.12)
+if(WIN32)
if(NOT WITH_SOURCE_TREE STREQUAL "no")
message("* Show source tree : Yes - \"${WITH_SOURCE_TREE}\"")
else()
@@ -144,4 +144,18 @@ else()
message("* Show source tree : No (For UNIX default)")
endif()
+if(BUILD_SHARED_LIBS)
+ message("")
+ message(" *** WITH_DYNAMIC_LINKING - INFO!")
+ message(" *** Will link against shared libraries!")
+ message(" *** Please note that this is an experimental feature!")
+ if(WITH_DYNAMIC_LINKING_FORCED)
+ message("")
+ message(" *** Dynamic linking was enforced through a dynamic script module!")
+ endif()
+ add_definitions(-DACORE_API_USE_DYNAMIC_LINKING)
+
+ WarnAboutSpacesInBuildPath()
+endif()
+
message("")