[CMake] How to add license

2014-12-17 Thread Petr Bena
I am using cpack and license always show No license provided. I do have SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt") and the file is there. Why is that? -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/

[CMake] [ANNOUNCE] CMake 3.1.0 Released!

2014-12-17 Thread Robert Maynard
I am proud to announce that CMake 3.1 is now available for download at: http://www.cmake.org/download http://www.cmake.org/files/v3.1/?C=M;O=D Documentation is available at: http://www.cmake.org/cmake/help/v3.1 Release notes appear below and are also published at http://www.cmake.org/cmak

[CMake] CMAKE Install Configurations

2014-12-17 Thread Eddy Ilg
Hi, I am trying to set up a project that has fine-grained installation control. The hierarchy is like this: Project Group Component There should be three install variants: 1. "make install" should install the whole project. 2. "make Group1-install" should install everything that

Re: [CMake] Removing compiler options

2014-12-17 Thread Angeliki Chrysochou
Hi Robert, A solution could be to create a custom build type with specific flags by appending "_" to CMAKE_CXX_FLAGS. In that way one could specify different flags for different build types and then set them as default for the project they wish to build. This could work like this for example, assu

Re: [CMake] Using clang + assembly language (cross compilation)

2014-12-17 Thread Emmanuel Blot
Ooops, sorry for the noise, there was an issue with the CMakeLists.txt file. Please ignore my last post. On Wed, Dec 17, 2014 at 10:15 AM, Emmanuel Blot wrote: > Hi, > > Is there a special order to make CMake recognize .S files - with Clang > toolchain - as valid source files? > > -- ASM: /usr/lo

[CMake] Using clang + assembly language (cross compilation)

2014-12-17 Thread Emmanuel Blot
Hi, Is there a special order to make CMake recognize .S files - with Clang toolchain - as valid source files? -- ASM: /usr/local/bin/clang -- The ASM compiler identification is Clang -- Found assembler: /usr/local/bin/clang -- Configuring done CMake Error at lib/CMakeLists.txt:9 (ADD_LIBRARY):