Re: [CMake] How to use a generated linker map with a shared library?

2017-01-16 Thread clinton
On Jan 14, 2017 7:16 PM, Paul Smith wrote:On Sun, 2017-01-15 at 12:08 +1100, Craig Scott wrote: > While not directly answering your question, it seems you may be trying > to deal with symbol visibility. Are you aware of CMake's symbol > visibility features? A good place to start would be the >

Re: [CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Gregor Jasny via CMake
Hello, On 16/01/2017 15:43, Harry Mallon wrote: Sorry look like it is not in the release build yet. correct, please use a recent nightly: https://cmake.org/files/dev/?C=M;O=D Maybe you could report back if the attribute works for you. Thanks, Gregor -- Powered by www.kitware.com Please ke

Re: [CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Harry Mallon
Hi again, Sorry look like it is not in the release build yet. Harry Harry Mallon CODEX | Software Engineer 60 Poland Street | London | England | W1F 7NT E ha...@codexdigital.com | T +44 203 7000 989 Website | Facebook

[CMake] Using XCODE_PRODUCT_TYPE to make kexts

2017-01-16 Thread Harry Mallon
Hello, I am almost there making kexts with XCode generator and CMake. However they appear as "com.apple.product-type.bundle" rather than "com.apple.product-type.kernel-extension.iokit" in the Xcode project file. This means they do not get the Xcode/kext magic compile line without lots of manual

Re: [CMake] Problem with a simple framework target on OS X

2017-01-16 Thread Nils Gladitz
On 01/16/2017 11:02 AM, Nat! wrote: Hi I am trying to create an OS X framework with resources and headers using cmake. This is my `CMakeLists.txt` file: project( Foo) cmake_minimum_required (VERSION 3.7) add_library( Foo SHARED foo.c ) set_target_properties( Fo

[CMake] Problem with a simple framework target on OS X

2017-01-16 Thread Nat!
Hi I am trying to create an OS X framework with resources and headers using cmake. This is my `CMakeLists.txt` file: project( Foo) cmake_minimum_required (VERSION 3.7) add_library( Foo SHARED foo.c ) set_target_properties( Foo PROPERTIES FRAMEWORK TRUE RESOURCE

[CMake] ANN: CMake Course - March 13 in Lyon, France

2017-01-16 Thread Julien Jomier
Kitware will be holding a CMake training course on March 13, 2017 at Kitware's office in Lyon, France. This one-day course will cover CMake, CTest, CPack and CDash. Visit our website for more information and registration details (early registration and student discounts available): http://tr