Re: [CMake] Boost is planning to switch from bjam to CMake!

2017-07-23 Thread Bo Zhou
Good news ! Hopefully the bcp would also work with CMake so only requires component would be installed. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. F

Re: [CMake] Append to property COMPILE_DEFINITIONS

2017-07-23 Thread Florian Lindner
Am 22.07.2017 um 15:36 schrieb Craig Scott: > > On Tue, Jul 18, 2017 at 8:50 PM, Florian Lindner > wrote: > > #Works, but I would prefer to have it just once for all targets and at > the top of the file > set_property(TARGET testprecice APPEND > PROPE

Re: [CMake] Exception handling warning on windows

2017-07-23 Thread Aaron Boxer
Never mind, figured it out :) IF(MSVC) SET(CMAKE_CXX_FLAGS "/EHsc") ENDIF(MSVC) On Sun, Jul 23, 2017 at 8:35 PM, Aaron Boxer wrote: > Hello, > > I am getting the following warning when building my project on Visual > Studio 14: > > warning C4530: C++ exception handler used, but unwind seman

[CMake] Exception handling warning on windows

2017-07-23 Thread Aaron Boxer
Hello, I am getting the following warning when building my project on Visual Studio 14: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc Is there a cmake option to enable unwind semantics on windows ? Thanks, Aaron -- Powered by www.kitware.com P

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread Craig Scott
On Mon, Jul 24, 2017 at 6:13 AM, Gonzalo Garramuño wrote: > > > El 23/07/17 a las 12:37, DKLind escribió: > >> I forgot, I also have a question about "make package". How do I build and >> package just an individual sub-project. As expected, "make " >> works to build, but there isn't a default tar

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread Gonzalo Garramuño
El 23/07/17 a las 12:37, DKLind escribió: I forgot, I also have a question about "make package". How do I build and package just an individual sub-project. As expected, "make " works to build, but there isn't a default target to package an individual sub-project. AFAIK, it is not possible. I wo

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread Domen Vrankar
2017-07-23 17:19 GMT+02:00 DKLind : > Also, curious why CPACK_*COMPONENT*__DESCRIPTION is different > from the other CPACK_*DEBIAN*__PACKAGE_XXX? > Most variables are debian package specific/allow to override general CPack variables specifically for debian packages. For e.g. package description i

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread DKLind
I forgot, I also have a question about "make package". How do I build and package just an individual sub-project. As expected, "make " works to build, but there isn't a default target to package an individual sub-project. -- View this message in context: http://cmake.3232098.n2.nabble.com/CPack

[CMake] Boost is planning to switch from bjam to CMake!

2017-07-23 Thread Robert Dailey
Very exciting news... hopefully it works out! Congratulations to CMake for this; this is huge support for CMake and shows it is becoming way more popular (not that it wasn't already!) https://lists.boost.org/boost-interest/2017/07/0162.php?utm_content=buffera6a82&utm_medium=social&utm_source=plus.

Re: [CMake] CPack: Create debian packge for each sub-project

2017-07-23 Thread DKLind
Domen, Thanks for the reply to my question. I was aware of the Debian packaging generator page and I also was already setting the component value to uppercase. As documented, I had to use PARENT_SCOPE when setting CPACK_DEBIAN__PACKAGE_XXX values from sub-projects' CMakeLists.txt. Also, curious