Re: [CMake] Skipping dependency checking... aka an all/fast target

2011-09-21 Thread Alexander Neundorf
On Wednesday, September 21, 2011 03:39:03 PM Malfettone, Kris wrote: > Hi all, I never got a response about this and figured I would try replying > to the question to hopefully catch someone's attention. Any response on > this question would be much appreciated. We talked about this already one o

Re: [CMake] Indexer confused by Preprocessor Symbols in Eclipse CDT

2011-09-21 Thread Alexander Neundorf
On Wednesday, September 21, 2011 05:17:30 PM André wrote: > hello, > I've got a problem with a cmake generated eclipse project. In the 'C/C++ > Include Paths and Symbols' list cmake generates this preprocessor smybol: > > int=__WCHAR_TYPE__ > > which confuses the indexer. I get 'Type 'int' could

Re: [CMake] Problem with option() when in subdirectory

2011-09-21 Thread David Demelier
On 18/09/2011 21:54, Alexander Neundorf wrote: On Sunday, September 18, 2011 02:42:49 PM Michael Wild wrote: On 09/18/2011 02:32 PM, Alexander Neundorf wrote: On Sunday, September 18, 2011 02:15:54 PM David Demelier wrote: Hello, I noticed that option() values are not checked when the option(

Re: [CMake] CMake, iOS and .xib compilation

2011-09-21 Thread David Cole
On Wed, Sep 21, 2011 at 12:41 PM, Daniel Dekkers wrote: > Hi David, > >> I have tested it manually using the Xcode generator. The point of this >> recent work was focused on getting "simulator" and "device" builds >> both working within the same Xcode project at the same time, and >> allowing the

Re: [CMake] Skipping dependency checking... aka an all/fast target

2011-09-21 Thread Andreas Mohr
Hi, On Wed, Sep 21, 2011 at 11:17:33AM -0400, cmake-requ...@cmake.org wrote: > Message: 5 > Date: Wed, 21 Sep 2011 13:39:03 + > From: "Malfettone, Kris" > Hi all, I never got a response about this and figured I would try replying to > the question to hopefully catch someone's attention. An

Re: [CMake] CMake, iOS and .xib compilation

2011-09-21 Thread Daniel Dekkers
Hi David, > I have tested it manually using the Xcode generator. The point of this > recent work was focused on getting "simulator" and "device" builds > both working within the same Xcode project at the same time, and > allowing the developer to switch back and forth between them in the > Xcode U

Re: [CMake] ExternalProject_Add and Dependent Targets

2011-09-21 Thread David Cole
On Wed, Sep 21, 2011 at 11:45 AM, Lori Pritchett-Sheats wrote: > Reading the documentation it is not clear how the DEPENDS option works in > ExternalProject_Add. > > For example, I add HDF5 to my build and HDF5 depends on zlib the following > doesn't work > > find_package(ZLIB) > add_library(zlib

[CMake] ExternalProject_Add and Dependent Targets

2011-09-21 Thread Lori Pritchett-Sheats
Reading the documentation it is not clear how the DEPENDS option works in ExternalProject_Add. For example, I add HDF5 to my build and HDF5 depends on zlib the following doesn't work find_package(ZLIB) add_library(zlib UNKNOWN IMPORTED) set_target_properties(zlib PROPERTIES IMPORTED_LOCATION

[CMake] Indexer confused by Preprocessor Symbols in Eclipse CDT

2011-09-21 Thread André
hello, I've got a problem with a cmake generated eclipse project. In the 'C/C++ Include Paths and Symbols' list cmake generates this preprocessor smybol: int=__WCHAR_TYPE__ which confuses the indexer. I get 'Type 'int' could not be resolved' errors and some others. If I delete the symbol ever

Re: [CMake] not found library with package configuration files and changed CMAKE_INSTALL_PREFIX

2011-09-21 Thread Alexander Dahl
Hei hei, On Tue, 20 Sep 2011 16:38:06 +0200, Michael Hertling wrote: > This leaves the target named "foo-shared", not "foo"; the latter is > just the base name of the target's disk file, i.e. libfoo.so.0.1.0. It does. > The foo-targets.cmake file contains "foo-shared" as imported target, > and i

Re: [CMake] CodeBlocks generator and source_group

2011-09-21 Thread Tomasz Grobelny
On Wed, 21 Sep 2011 06:50:39 +0200, Alexander Neundorf wrote: > On Tuesday, September 20, 2011 12:11:19 PM Tomasz Grobelny wrote: >> Is there any way to make cmake generate ‘’ element for Unit elements in CodeBlocks Project file (cbp)? I >> would expect it to happen by using 'SOURCE_GROUP("Source

Re: [CMake] Skipping dependency checking... aka an all/fast target

2011-09-21 Thread Malfettone, Kris
Hi all, I never got a response about this and figured I would try replying to the question to hopefully catch someone's attention. Any response on this question would be much appreciated. -Kris From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Malfettone, Kris Sent:

Re: [CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-21 Thread Jens Auer
> The PROJECT() command has significant side effects, e.g. for > C++ projects, it loads Modules/CMakeCXXInformation.cmake containing: > > SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT}" CACHE STRING > "Flags used by the compiler during all build types.") > > If CMAKE_CXX_FLAGS has no value i

[CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-21 Thread Hauke Heibel
Hi, I started to work with imported targets and thus with setting the property IMPORTED_LOCATION and the like. I stumbled over a case (GTest) where the standard find_package call returns me a list of libs for 'debug' and 'optimized' modes and I am setting them like this find_package(GTest REQUIRE