Discussion:
[mitk-users] mitk_create_module and static libraries
Federico Milano
2017-02-01 03:07:09 UTC
Permalink
Hi. I'm using MITK as a toolkit. I use mitk_create_executable to generate
an executable and mitk_create_module to generate several modules. I'm not
using FORCE_STATIC in mitk_create_module since I want to generate dynamic
libraries. However, the build outputs only STATIC libraries.

I'm building in a Kubuntu 16.04, g++ version 5.4.0 20160609.

Thanks!

Federico
Dinkelacker, Stefan
2017-02-01 11:58:15 UTC
Permalink
Hi, is BUILD_SHARED_LIBS switched on in CMake for the MITK-build?

Best,
Stefan

From: Federico Milano [mailto:***@gmail.com]
Sent: Mittwoch, 1. Februar 2017 04:07
To: mitk-***@lists.sourceforge.net
Subject: [mitk-users] mitk_create_module and static libraries

Hi. I'm using MITK as a toolkit. I use mitk_create_executable to generate an executable and mitk_create_module to generate several modules. I'm not using FORCE_STATIC in mitk_create_module since I want to generate dynamic libraries. However, the build outputs only STATIC libraries.

I'm building in a Kubuntu 16.04, g++ version 5.4.0 20160609.

Thanks!

Federico
Federico Milano
2017-02-01 15:55:15 UTC
Permalink
Hi. Yes, for the MITK-build it is on. Should I turn it on also for my
standalone project?

Thanks
El El mié, 1 de feb. de 2017 a las 08:58, Dinkelacker, Stefan <
Post by Dinkelacker, Stefan
Hi, is BUILD_SHARED_LIBS switched on in CMake for the MITK-build?
Best,
Stefan
*Sent:* Mittwoch, 1. Februar 2017 04:07
*Subject:* [mitk-users] mitk_create_module and static libraries
Hi. I'm using MITK as a toolkit. I use mitk_create_executable to generate
an executable and mitk_create_module to generate several modules. I'm not
using FORCE_STATIC in mitk_create_module since I want to generate dynamic
libraries. However, the build outputs only STATIC libraries.
I'm building in a Kubuntu 16.04, g++ version 5.4.0 20160609.
Thanks!
Federico
Loading...