[cmake-developers] [CMake 0011979]: Could not load program ./cmake/bin/ccmake:

2011-03-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11979 == Reported By:Manish Jain Assigned To:

Re: [cmake-developers] New Cmake module - Armadillo C++

2011-03-17 Thread creusot
Hi Alex, Thanks for your help. I have changed the FindArmadillo.cmake file using your comments. The file is attached to this email. I also modified Armadillo installation. A new ArmadilloConfig.cmake file is installed in ${INSTALL_DATA_DIR}/Armadillo/cmake/. It works well, thanks for the

[CMake] Fwd: Setting Build properties for VS 2008

2011-03-17 Thread John Drescher
-- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Thu, Mar 17, 2011 at 5:43 AM Subject: Re: [CMake] Setting Build properties for VS 2008 To: Dan Furtney dfurt...@cox.net On Wed, Mar 16, 2011 at 11:25 PM, Dan Furtney dfurt...@cox.net wrote: Is there a way for

Re: [CMake] vs2010 MANIFESTUAC not handled correctly

2011-03-17 Thread Aaron_Wright
Well I tried looking at the code and found cmVS10LinkFlagTable.h was the only file to mention MANIFESTUAC. But I can't figure out a simple fix. It pretty obvious this entry in the table is way to simple: {UACUIAccess, MANIFESTUAC:, Enable User Account Control (UAC), ,

Re: [CMake] INSTALL CODE using EXEC_PROGRAM with spaces in path

2011-03-17 Thread Urbach, Marcel [Rohmann GmbH]
Ok I finally got it to run. I've done it this way: EXECUTE_PROCESS(COMMAND cmd /c regsvr32 test.dll WORKING_DIRECTORY C:/Program Files/test/lib OUTPUT_VARIABLE ov RESULT_VARIABLE rv OUTPUT_STRIP_TRAILING_WHITESPACE ) Works fine, but there is still the problem to get the target build

Re: [CMake] INSTALL CODE using EXEC_PROGRAM with spaces in path

2011-03-17 Thread David Cole
When you are running an install SCRIPT it is simply included in the context of the file cmake_install.cmake. So you can reference variables that are in use in the including file inside your install SCRIPT file. Read through the contents of a typical cmake_install.cmake to get more ideas about

[CMake] Deb Package messages only if deb is available

2011-03-17 Thread Dixon, Shane
I want to add some messages at the end of cmake that display all the DEB-related variables and what they're set to. I'd prefer to now shows these when building on windows where DEB isn't available. Is there something like If(DEBIAN_FOUND) that I can use to determine if the deb

[CMake] Path to current Visual Studio installation

2011-03-17 Thread James Bigler
I'm wanting to get a path that points me to where vcvarsall.bat might live. It's usually in the VS installation directory, and I was wondering if there was a nice convenient CMake variable that could tell me where Visual Studio is located. C:\Program Files (x86)\Microsoft Visual Studio

Re: [CMake] Warning! PATH too long installer unable to modify PATH!

2011-03-17 Thread Anders Backman
Noone else experienced this problem? /A On Mon, Mar 14, 2011 at 4:37 PM, Anders Backman ande...@cs.umu.se wrote: Im using CPack with CMake 2.8 and when I am installing my app, I get the message: Warning! PATH too long installer unable to modify PATH! Seems that Im not the first:

Re: [CMake] Path to current Visual Studio installation

2011-03-17 Thread David Cole
I haven't found a super-easy, completely reliable way to do this for all versions of Visual Studio. But here's some data for you... If it's set, for VS9 and earlier, CMAKE_MAKE_PROGRAM will point to the full path of devenv.com:

Re: [CMake] Warning! PATH too long installer unable to modify PATH!

2011-03-17 Thread David Cole
On the contrary: as you can see by the number of bugs related to this one's duplicate [ http://public.kitware.com/Bug/view.php?id=10257 ] and by the number of people participating in those discussions, it is quite common for people to encounter this problem. See all the notes in the bug and its

Re: [CMake] Set Source Property For Specific Target

2011-03-17 Thread Kawicki, Ryan H
Quick question. I am trying to add precompiled headers to a project that has been converted to use Cmake. In our library directory, we include all our source and build two targets (one static and one dynamic), but setting multiple source values only affects the source and not the

Re: [CMake] Deb Package messages only if deb is available

2011-03-17 Thread Eric Noulard
2011/3/17 Dixon, Shane shane.di...@atmel.com: I want to add some messages at the end of cmake that display all the DEB-related variables and what they’re set to.  I’d prefer to now shows these when building on windows where DEB isn’t available.  Is there something like   If(DEBIAN_FOUND)

Re: [CMake] Set Source Property For Specific Target

2011-03-17 Thread David Cole
There is a very old, long-standing open bug (in the backlog now) that outlines many of the issues related to supporting pre-compiled headers. http://public.kitware.com/Bug/view.php?id=1260 Doing a copy and rename strategy for StdAfx.cpp is a reasonable work-around until such time as this can

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-17 Thread Chatterjee, Shash
I am using 2.8.4 (on Fedora Core 13). -Original Message- From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Sent: Wed 3/16/2011 12:04 PM To: Chatterjee, Shash Cc: cmake@cmake.org Subject: Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

[CMake] FindHDF5.cmake patch

2011-03-17 Thread Tim Gallagher
Hi, Our project uses HDF5 and Fortran, and while I was looking through the comments in the FindHDF5.cmake file, I saw that it doesn't support finding the Fortran bindings. So, I modified it to make it work to find the Fortran bindings. Below is the diff output. Let me know if there's a more

[CMake] CPack and fixup_bundle

2011-03-17 Thread Simon Drouin
I'm trying to use CPack to create a .tar.gz package on linux. I use fixup_bundle from the bundle utility to copy and fix Qt libraries to the bundle. When I use simple 'make install', everything is installed properly in directory specified by CMAKE_INSTALL_PREFIX. When I use CPack, the Qt

Re: [CMake] FindHDF5.cmake patch

2011-03-17 Thread Rolf Eike Beer
Am Donnerstag 17 März 2011, 21:55:11 schrieb Tim Gallagher: Hi, Our project uses HDF5 and Fortran, and while I was looking through the comments in the FindHDF5.cmake file, I saw that it doesn't support finding the Fortran bindings. So, I modified it to make it work to find the Fortran

Re: [CMake] Adding new language.

2011-03-17 Thread Michael Hertling
On 03/15/2011 06:30 PM, arrowdodger wrote: On Tue, Mar 15, 2011 at 12:20 PM, Michael Wild them...@gmail.com wrote: Just one warning: AFAIK these rule variables are only used for Makefile-based generators, *NOT* for Xcode and VisualStudio and the like. I'd prefer the route via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1205-g42640da

2011-03-17 Thread Brad King
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 42640daaee73049f1647cf9ba708352c993aa319 (commit) via