Re: [CMake] *.so on Mac

2011-09-04 Thread Michael Wild
On Sun 04 Sep 2011 11:14:45 PM CEST, Yifei Li wrote: > Hi all, > > Shouldn't dynamic libraries on Mac have "dylib" as their extension? > > Why does MyLib have an extension "so" when I use add_library(MyLib MODULE)? > > Thanks > > Yifei Because a MODULE is normally a "plugin" library, and these t

Re: [CMake] Xcode deployment postprocessing

2011-09-04 Thread Robert Bielik
Tack Johan, Johan Björk skrev 2011-09-04 09:12: You can set it using SET(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING YES) You might also want to enable the strip-attribute if that's what you are aiming for (STRIP_INSTALLED_PRODUCT?) Yup that's what I'm aiming for. However, having set that

Re: [CMake] Problem with linker on win32

2011-09-04 Thread Nicolas
Thank you for your answers, i'm looking for any clue For now i'm preparing a possible migration of our production toolchain, so i'm playing with variables I'm not sure where to put the build_type definitions. On our project developers build the code in debug mode. Should i let it be set on com

[CMake] *.so on Mac

2011-09-04 Thread Yifei Li
Hi all, Shouldn't dynamic libraries on Mac have "dylib" as their extension? Why does MyLib have an extension "so" when I use add_library(MyLib MODULE)? Thanks Yifei ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://

Re: [CMake] how to inherit includes from other directories

2011-09-04 Thread Raymond Wan
Hi Victor, On Sat, Sep 3, 2011 at 02:27, Victor Yankee wrote: > build/ > src/ > utils > a > A.h > unittest_a.cpp > > b > B.h // needs a.h > > unittest_b.cpp > > common >

Re: [CMake] Xcode deployment postprocessing

2011-09-04 Thread Johan Björk
You can set it using SET(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING YES) You might also want to enable the strip-attribute if that's what you are aiming for (STRIP_INSTALLED_PRODUCT?) For other settings, refer to: http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/X