From f5fbe257244c9385bb4cb10fa45a0ac348b399eb Mon Sep 17 00:00:00 2001 From: kestred Date: Thu, 30 Jan 2014 10:32:25 -0700 Subject: [PATCH] Build shared libs by default in cmake builds. --- dtool/Config.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dtool/Config.cmake b/dtool/Config.cmake index dea237f89d..f2dfa07993 100644 --- a/dtool/Config.cmake +++ b/dtool/Config.cmake @@ -54,6 +54,13 @@ else() endif() +# Are we building with static or dynamic linking? +option(BUILD_SHARED_LIBS + "Causes subpackes to be built separately -- setup for dynamic linking. +Utilities/tools/binaries/etc are then dynamically linked to the +libraries instead of being statically linked." ON) + + # The character used to separate components of an OS-specific # directory name depends on the platform (it is '/' on Unix, '\' on # Windows). That character selection is hardcoded into Panda and