[cmake-developers] [CMake 0012227]: Transitive dependencies and target properties

2011-05-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12227 == Reported By:AlexUA Assigned To:

Re: [cmake-developers] Patches to add XXX_RUNTIME_LIBRARIES and XXX_RUNTIME_LIBRARY_DIRS to FindZLIB.cmake, FindXml2.cmake, and FindXslt.cmake

2011-05-26 Thread Brad King
On 05/25/2011 04:44 PM, Rick Yorgason wrote: But now you install the program and try to run it. Crash! No DLLs found, because on Windows it's standard to install the DLLs into the same directory as the .exe. [snip] our only option is to copy the DLLs into the build dirs. We typically use

Re: [CMake] Error on uninitialized vars?

2011-05-26 Thread Johan Björk
Hi, Basically we need to compile a few files with specific flags (only in release builds, and we had no test that checked for this) and I had a typo in the flag variable, resulting no extra flags being set. SET_SOURCE_FILES_PROPERTIES(some.cpp files.cpp PROPERTIES COMPILE_FLAGS

[CMake] Using ctest with --ctest-config

2011-05-26 Thread Olivier Clatz
Hello, I'm trying to use ctest with multiple CTestConfig.cmake files. When I have a single CTestConfig.cmake in my code root directory, and run : ctest -D Experimental Ctest runs and submit results correctly. Now when I move this file, let's say into C:\dir\myCTestConfig.cmake ,

[CMake] Purify Arguments

2011-05-26 Thread Jason Gochanour
Hello all, Is it possible to send command line arguments to purify when you run a ctest_memcheck? I need to find a way to exclude a few DLLs from our nightly memory check testing. Regards, -Jason Gochanour ___ Powered by www.kitware.com Visit

Re: [CMake] Cannot find source file: *.rc

2011-05-26 Thread Aaron_Wright
From: Michael Wild them...@gmail.com To: cmake@cmake.org Date: 05/25/2011 10:08 PM Subject: Re: [CMake] Cannot find source file: *.rc Sent by: cmake-boun...@cmake.org On 05/25/2011 11:40 PM, aaron_wri...@selinc.com wrote: I use mc.exe to generate an *.rc file and some headers for my

[CMake] 32-bit mode on 64-bit machine

2011-05-26 Thread Sara Rolfe
Hello, I'd like to force a 64-bit machine to build a 32-bit program. Can I control this using CMake? Thanks, Sara ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] 32-bit mode on 64-bit machine

2011-05-26 Thread Glenn Coombs
I do exactly that for my project using these lines: if(UNIX) # only build 32-bit binaries add_definitions(-m32) set(CMAKE_EXE_LINKER_FLAGS${CMAKE_EXE_LINKER_FLAGS} -m32) set(CMAKE_SHARED_LIBRARY_C_FLAGS${CMAKE_SHARED_LIBRARY_C_FLAGS}

[CMake] INSTALL with RENAME

2011-05-26 Thread J Decker
How do I install a single target as multiple names? (for something like busybox) -- CMakeLists.txt --- cmake_minimum_required(VERSION 2.8) PROJECT( test ) add_executable( ${PROJECT_NAME} test.c ) install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION . RENAME util_rm.exe ) install(

Re: [CMake] INSTALL with RENAME

2011-05-26 Thread Alexander Neundorf
On Thursday 26 May 2011, J Decker wrote: How do I install a single target as multiple names? (for something like busybox) Did you try install(CODE ... ) or install(SCRIPT ... ) to create symlinks at install time ? Alex ___ Powered by www.kitware.com

Re: [CMake] INSTALL with RENAME

2011-05-26 Thread J Decker
It's a windows XP target, so symlinks aren't doable... On Thu, May 26, 2011 at 12:12 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Thursday 26 May 2011, J Decker wrote: How do I install a single target as multiple names? (for something like busybox) Did you try install(CODE ... )

[CMake] Copying files (different name)

2011-05-26 Thread Nicholas Yue
Hi, With the FILE ( COPY .. DESTINATION) command, is there a way to create a second copy of a file at the DESTINATION with a different name ? In my case, my DESTINATION is the same as the original location. Basically, I am trying to duplicate this command line copy header.h.vc

Re: [CMake] Copying files (different name)

2011-05-26 Thread Tyler
Don't know if file() will work but configure_file() will. You might want the NO_REPLACE flag or whatever it's called to prevent accidental variable interpolation. tyler On Thu, May 26, 2011 at 4:46 PM, Nicholas Yue yue.nicho...@gmail.com wrote: Hi,    With the FILE ( COPY .. DESTINATION)

[CMake] CMake pod cast

2011-05-26 Thread Bill Hoffman
Last week I did an interview for the High Performance Computing (HPC) and Research Computing Podcast. It can be found here: http://www.rce-cast.com/ -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[Cmake-commits] CMake branch, next, updated. v2.8.4-1618-g08a5024

2011-05-26 Thread Philip Lowman
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 08a5024306cf00c4aa06bab6995f89d18b2154d9 (commit) via