[cmake-developers] [CMake 0013800]: Only one directory taken into account (CMAKE_FIND_ROOT_PATH)

2012-12-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13800 == Reported By:Jonathan De Wachter Assigned To:

Re: [cmake-developers] Global flags for creating static libraries

2012-12-17 Thread Brad King
On 12/17/2012 02:01 AM, Evan Pipho wrote: Cleaned up the commits See the new branch here: https://github.com/hiwrac/CMake/commits/static_linker_flags_clean CMAKE_STATIC_LINKER_FLAGS is now optional on all generators. XCode is supported properly. 1. I still see some GetRequiredDefinition

Re: [CMake] How to use CMAKE_POLICY?

2012-12-17 Thread Marcel Loose
Hi David, See my remarks inline. On 15/12/12 16:47, David Cole wrote: On Sat, Dec 15, 2012 at 10:33 AM, Marcel Loose marcel.lo...@zonnet.nl mailto:marcel.lo...@zonnet.nl wrote: Thanks, that seems to work. Is the idiom if(POLICY CMP) cmake_policy(PUSH)

Re: [CMake] Xcode Archiving on iOS and OSX

2012-12-17 Thread Jamie Hales
I've got a little further with this over the weekend. By doing a Product-Build For-Archiving before Product-Archive seems to build the xcode archives into the correct location, I'm not sure why this is the case. Regardless, that allows it to link correctly. The problem then is it by default

Re: [CMake] How to use CMAKE_POLICY?

2012-12-17 Thread David Cole
If you need to set a policy to OLD, then we have failed... Why do you need to set a policy to OLD? How can we make it work so that you don't need to do that? On Mon, Dec 17, 2012 at 3:58 AM, Marcel Loose lo...@astron.nl wrote: Hi David, See my remarks inline. On 15/12/12 16:47, David

Re: [CMake] How to use CMAKE_POLICY?

2012-12-17 Thread Alexander Neundorf
On Monday 17 December 2012, David Cole wrote: If you need to set a policy to OLD, then we have failed... Why do you need to set a policy to OLD? To get the old behaviour, and to silence warnings, which could lead developers to change the cmake code and switch to the NEW behaviour, I think.

Re: [CMake] How to use CMAKE_POLICY?

2012-12-17 Thread David Cole
I thought we wanted them to switch to the new behavior... Isn't that the goal of emitting warnings from policy implementations...? On Mon, Dec 17, 2012 at 11:45 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Monday 17 December 2012, David Cole wrote: If you need to set a policy

Re: [CMake] How to use CMAKE_POLICY?

2012-12-17 Thread Alexander Neundorf
On Monday 17 December 2012, David Cole wrote: I thought we wanted them to switch to the new behavior... Isn't that the goal of emitting warnings from policy implementations...? ...but not as long as the project still wants to keep the old minimum required cmake version (or am I mixing things

[CMake] Using gnu flux with cmake

2012-12-17 Thread Derek Cole
I am trying to figure out what I am doing wrong when trying to use just flex in a Cmake file to build a shared lib. i basically have the following find_package(FLEX) FLEX_TARGET(Test ../src/test.l ../src/test.c)set(SRC_FILES mysource.c ${FLEX_Test_OUTPUTS}) add_libary(testlib ${SRC_FILES})

Re: [CMake] Using gnu flex with cmake

2012-12-17 Thread Derek Cole
Replying to fix the subject On Mon, Dec 17, 2012 at 1:45 PM, Derek Cole derek.c...@gmail.com wrote: I am trying to figure out what I am doing wrong when trying to use just flex in a Cmake file to build a shared lib. i basically have the following find_package(FLEX) FLEX_TARGET(Test

Re: [CMake] Using gnu flex with cmake

2012-12-17 Thread Eric Noulard
2012/12/17 Derek Cole derek.c...@gmail.com Replying to fix the subject On Mon, Dec 17, 2012 at 1:45 PM, Derek Cole derek.c...@gmail.com wrote: I am trying to figure out what I am doing wrong when trying to use just flex in a Cmake file to build a shared lib. i basically have the

Re: [CMake] Using gnu flex with cmake

2012-12-17 Thread Derek Cole
Thanks - that seemed to work. I was under the impression I could specify where I wanted the .c file to go with the 2nd argument. I had tried this way before, but i didnt notice I think I had a syntax error in my .l file causing the compile to not complete. Thanks -Derek On Mon, Dec 17, 2012 at

[CMake] FindPostgreSQL.cmake won't work on ubuntu

2012-12-17 Thread Ilia Choly
* Ubuntu 12.04 * CMake 2.8.9 * Postgresql 9.2.2 I'm trying to get the `FindPostgreSQL` module to find `/usr/include/postgresql/libpq-fe.h`. Here's what I have in my `CMakeLists.txt`: find_package(PostgreSQL REQUIRED) This is the error I get: CMake Error at

Re: [CMake] FindPostgreSQL.cmake won't work on ubuntu

2012-12-17 Thread Matthew Woehlke
On 2012-12-17 14:55, Ilia Choly wrote: I'm trying to get the `FindPostgreSQL` module to find `/usr/include/postgresql/libpq-fe.h`. This is the error I get: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find PostgreSQL

Re: [CMake] FindPostgreSQL.cmake won't work on ubuntu

2012-12-17 Thread Rolf Eike Beer
Ilia Choly wrote: * Ubuntu 12.04 * CMake 2.8.9 * Postgresql 9.2.2 Maybe the usual multiarch breakage? http://cmake.org/Bug/view.php?id=13378 Eike -- signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Visit other Kitware open-source projects

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-319-g8931dd6

2012-12-17 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index aced2e7..81d74c8 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 10) -set(CMake_VERSION_TWEAK 20121217