[cmake-developers] [CMake 0012471]: CMake add_custom_command problem when triggering a FATAL_ERROR in MSVC

2011-09-21 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12471 == Reported By:Hauke Heibel Assigned To:

[cmake-developers] [CMake 0012472]: cmake codeblocks should support source_group

2011-09-21 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12472 == Reported By:Tomasz Grobelny Assigned To:

Re: [CMake] missing .S (assembly file) target

2011-09-21 Thread Reto Glauser
On Tue, 20 Sep 2011 19:11:58 +0200, Michael Hertling wrote: After configuring, make help reveals: % make help The following are some of the valid targets for this Makefile: ... all (the default if no target is provided) ... clean ... depend ... edit_cache ... main ... mainxx ... rebuild_cache

[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

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 in the

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] CodeBlocks generator and source_group

2011-09-21 Thread Tomasz Grobelny
On Wed, 21 Sep 2011 06:50:39 +0200, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday, September 20, 2011 12:11:19 PM Tomasz Grobelny wrote: Is there any way to make cmake generate ‘Option virtualFolder=Source Files /’ element for Unit elements in CodeBlocks Project file (cbp)? I

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 it is this

[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

[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

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 lpri...@lanl.gov 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)

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 UI.

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 kris.malfett...@sig.com Hi all, I never got a response about this and figured I would try replying to the question to hopefully catch

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

2011-09-21 Thread David Cole
On Wed, Sep 21, 2011 at 12:41 PM, Daniel Dekkers d.dekk...@cthrough.nl 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

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

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 not be

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 or

[Cmake-commits] CMake branch, master, updated. v2.8.5-496-g253e370

2011-09-21 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 253e370c9efebc6da2194c2e5e506678c59b30f2 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1950-g90a82b7

2011-09-21 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 90a82b7a98247c052e64fb047fc60c8b3759c274 (commit) via