[CMake] How to build shared library as bundle on OS X?

2014-11-20 Thread Alexey Petruchik
I have a shared library. To build it as framework i write: set_target_properties(lib_name FRAMEWORK TRUE) How I build it as bundle? Please dont confuse library bundle with application bundle. Regards, Alexey -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ a

Re: [CMake] empty CMAKE_CXX_KNOWN_FEATURES in cmake 3.1.0-rc2

2014-11-20 Thread Stephen Kelly
Erik Sjölund wrote: > CMAKE_CXX_KNOWN_FEATURES seems to be empty in > cmake 3.1.0-rc2 > > Should it be? Yes, it's not a variable, but a global property: get_property(cxx_features GLOBAL PROPERTY CMAKE_CXX_KNOWN_FEATURES) message("known: ${cxx_features}") Thanks, Steve. -- Powered by www

Re: [CMake] issues with static linking and Intel compiler on Crays

2014-11-20 Thread Thompson, KT
Mark, I also have had a lot of difficulty using cmake in the Cray computing environment (Cray XE6). My team has given up on autodetection of the build environment. Instead we use cmake in a cross compiling environment (http://www.cmake.org/Wiki/CMake_Cross_Compiling), where we manually specif

Re: [CMake] CMake and VS Community Edition

2014-11-20 Thread Bill Hoffman
On 11/20/2014 12:32 AM, Andrew Maclean wrote: I only picked this up because I use the Microsoft Visual Studio Version Selector to open the *.sln file by default. Tested on CMake 3.0.2 and the pre-release version CMake 3.1.20141119 VS 2013 Community Edition will happily use the VS Express 2013 s

[CMake] empty CMAKE_CXX_KNOWN_FEATURES in cmake 3.1.0-rc2

2014-11-20 Thread Erik Sjölund
CMAKE_CXX_KNOWN_FEATURES seems to be empty in cmake 3.1.0-rc2 Should it be? cheers, Erik Sjölund erik@ubuntu:~/tmp$ cat CMakeLists.txt cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project(foobar CXX) list(LENGTH CMAKE_CXX_KNOWN_FEATURES length1) message("length of CMAKE_CXX_KNOWN_FEATURES=

Re: [CMake] Interaction between source COMPILE_FLAGS and directory COMPILE_OPTIONS

2014-11-20 Thread Braden McDaniel
On Wed, 2014-11-19 at 22:55 +, Braden McDaniel wrote: > The documentation for the source property COMPILE_FLAGS describes it > as, "Additional flags to be added when compiling this source file." > However, when using the Visual Studio 2013 generator (at least), it appears > to replace (rath

[CMake] BasicRuntimeChecks inside CompilerId/VS-10.vcxproj.in

2014-11-20 Thread CACHET Bertrand
Hello, I would like to add support for INtime (v6) platform (RTOS for Windows). I add these variables to my CMakeLists.txt project: SET(CMAKE_SYSTEM_NAME INtime) SET(CMAKE_GENERATOR_PLATFORM INtime) I generated a platform/INtime.cmake file (attach to this email). When trying to generate