[CMake] Problems with renamed CMake Generators

2014-01-22 Thread NoRulez
Hello, at the moment I test with if("${CMAKE_GENERATOR}" STREQUAL "Visual Studio 12") in the upcoming release of CMake this string has changed. So, is there an other way to test for generators and if a generator is called for 32/64bit? Thanks in advance Best Regardsn -- Powered by www.kitware

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Andreas Schuh
Hi Steve and all, On Jan 23, 2014, at 12:47 AM, Andrew Hundt wrote: > > On Wed, Jan 22, 2014 at 5:44 PM, Stephen Kelly wrote: > Andrew Hundt wrote: > > > CMake BASIS is a set of utilities and standards created with the goal of > > making CMake projects and libraries very easy to create, shar

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Andrew Hundt
On Wed, Jan 22, 2014 at 5:44 PM, Stephen Kelly wrote: > Andrew Hundt wrote: > > > CMake BASIS is a set of utilities and standards created with the goal of > > making CMake projects and libraries very easy to create, share, and > reuse. > > Hello, > > There seems to be several years of development

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Stephen Kelly
Andrew Hundt wrote: > CMake BASIS is a set of utilities and standards created with the goal of > making CMake projects and libraries very easy to create, share, and reuse. Hello, There seems to be several years of development behind this already. Is it newly public, or newly publicized? I've ne

Re: [CMake] Forcing /MDd using externalproject_add

2014-01-22 Thread Brad King
On 01/22/2014 01:04 PM, Brian Davis wrote: > Unless you are saying that they should not have specified > CMAKE_C*_FLAGS and friends in this way That's exactly what I'm saying. By specifying them as local directory-scoped set() calls they tell CMake to use their values and ignore the cache entries

Re: [CMake] CMake absolute path

2014-01-22 Thread Brad King
On 01/22/2014 12:05 PM, Tony-Alexandru Dincu wrote: > I investigated the problem and I saw that the problem is from relative path. > With CMake 2.8.8 the solution builds, but with CMake 2.8.9 no. Between those versions came these commits: VS10: Convert paths normally unless forced to relative h

Re: [CMake] Forcing /MDd using externalproject_add

2014-01-22 Thread Brian Davis
Thanks Brad for replying. Comments below. On Wed, Jan 22, 2014 at 11:09 AM, Brad King wrote: > On 01/22/2014 11:27 AM, Brian Davis wrote: > > > http://cmake.org/gitweb?p=cmake.git;a=blob;f=Help/manual/cmake-language.7.rst;hb=1b395813#l393 > > > > This document does not state any persistence a

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Alexander Neundorf
On Tuesday 21 January 2014, Andrew Hundt wrote: > CMake BASIS is a set of utilities and standards created with the goal of > making CMake projects and libraries very easy to create, share, and reuse. this reminds me a bit of automake... autoconf alone was kind of ok, then automake was added to cre

Re: [CMake] CMake absolute path

2014-01-22 Thread Bogdan Cristea
On 01/22/2014 06:05 PM, Tony-Alexandru Dincu wrote: We are trying to build a complex solution which has a path 72 characters long with CMake 2.8.12, but the build fails saying that some files can't be found. I investigated the problem and I saw that the problem is from relative path. With C

[CMake] CMake absolute path

2014-01-22 Thread Tony-Alexandru Dincu
Hello! We are trying to build a complex solution which has a path 72 characters long with CMake 2.8.12, but the build fails saying that some files can't be found. I investigated the problem and I saw that the problem is from relative path. With CMake 2.8.8 the solution builds, but with CMake 2.

Re: [CMake] Forcing /MDd using externalproject_add

2014-01-22 Thread Brad King
On 01/22/2014 11:27 AM, Brian Davis wrote: > http://cmake.org/gitweb?p=cmake.git;a=blob;f=Help/manual/cmake-language.7.rst;hb=1b395813#l393 > > This document does not state any persistence a variable should have > when terms INTERNAL or FORCE are used. It does link to the set() command documentat

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Andrew Hundt
On Wed, Jan 22, 2014 at 9:10 AM, Mateusz Łoskot wrote: > Andrew, this looks very interesting. Thanks! > (I'm tired of writing the same boilerplate :-)) Yeah it seemed like every new library I wrote had the same boilerplate so when I found this project I jumped on and started contributing.

Re: [CMake] Forcing /MDd using externalproject_add

2014-01-22 Thread Brian Davis
Continuing on here from results of bug submittal at http://public.kitware.com/Bug/view.php?id=14705 I will try to post whatever necessary bits from that here in hopes of making this cohesive discussion. The bug report example has two CMakeLists.txt files: external_project/CMakeLists.txt referred

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Mateusz Łoskot
On 21 January 2014 19:49, Andrew Hundt wrote: > CMake BASIS is a set of utilities and standards created with the goal of > making CMake projects and libraries very easy to create, share, and reuse. > It also integrates a lot of useful new CMake functionality such as > documentation tools and autom