Re: [CMake] Unable to locate boost_unit_test_framework-vc90-mt-gd-1_45.lib

2011-08-15 Thread Michael Hertling
On 08/11/2011 04:30 PM, Stephen Torri wrote: > On Wed, Aug 10, 2011 at 9:51 PM, Michael Hertling wrote: > >> On 08/10/2011 04:27 PM, Stephen Torri wrote: >>> I am having a problem setting up CMake to find the Boost unit test >> framework >>> library when building a test program. In the top level

[CMake] Nested Project()

2011-08-15 Thread klaas.holwerda
Hi, I have several nested directories, and each directory contains a CMakeLists.txt file. And most start with PROJECT( ) Where xxx is some name for what I like to contains some targets. In VC it is possible to create in the top solution, so called solution folders. Why does CMake not use

Re: [CMake] append command

2011-08-15 Thread John Drescher
> Anybody else has an opinion on this ? My preference is to drop the idea since the set command already allows you to append a string. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/op

Re: [CMake] append command

2011-08-15 Thread Alexander Neundorf
On Friday 12 August 2011, Michael Hertling wrote: > On 08/11/2011 10:04 PM, Alexander Neundorf wrote: > > On Thursday 11 August 2011, Michael Hertling wrote: > > ... > > > >> Alternatively, one might consider to introduce a new, say, > >> modifier "CONCAT" for the SET() command, e.g. > >> > >> SE

Re: [CMake] Fwd: [CMake 0012398]: "IF" infamous functionality fails to work with macro arguments

2011-08-15 Thread Albert Meltzer
On Mon, Aug 15, 2011 at 3:26 PM, David Cole wrote: > documentation to clarify the existing situation, but I don't see a > reasonable way to accommodate this feature request *and* maintain > backwards compatibility with existing real world uses of macro and if > Umm... once again, doesn't this ca

[CMake] Getting library dependency files without full paths

2011-08-15 Thread Michael Schutte
Hi everyone, I am currently dealing with some Debian library packages that ship *LibraryDepends.cmake files with absolute paths to their required shared objects. Due to the ongoing multiarch transition, many of these .so files are moved down the directory hierarchy, so that libraries for multiple

Re: [CMake] Fwd: [CMake 0012398]: "IF" infamous functionality fails to work with macro arguments

2011-08-15 Thread John Drescher
On Mon, Aug 15, 2011 at 11:26 AM, David Cole wrote: > Thanks, Michael... > > I'll give this another week or so here on the mailing list (and in the > bug tracker) to gather feedback. > > If I don't hear anything else, I'll consider changing some > documentation to clarify the existing situation, b

Re: [CMake] Fwd: [CMake 0012398]: "IF" infamous functionality fails to work with macro arguments

2011-08-15 Thread David Cole
Thanks, Michael... I'll give this another week or so here on the mailing list (and in the bug tracker) to gather feedback. If I don't hear anything else, I'll consider changing some documentation to clarify the existing situation, but I don't see a reasonable way to accommodate this feature reque

Re: [CMake] CMake and NaCl (Google NativeClient)

2011-08-15 Thread Jean-Christophe Fillion-Robin
Hi Nils, Did you try to specify an empty value for the following properties: CMAKE_OSX_SYSROOT CMAKE_OSX_DEPLOYMENT_TARGET CMAKE_OSX_ARCHITECTURES ? On Thu, Aug 11, 2011 at 8:17 AM, Nils Hjelte wrote: > Hello! > > I'm trying to port a C++ project to NaCl > (http://code.google.com/chrome/

Re: [CMake] append command

2011-08-15 Thread Clifford Yapp
On Mon, Aug 15, 2011 at 7:59 AM, David Cole wrote: > > Again, our main concern here will be backward compatibility, not difficulty > of encoding semi-colons... > There are tons of real-world projects that already use all of these variables > and properties being discussed with their current sema

[CMake] masm & msvc

2011-08-15 Thread Micha Renner
This script... # Copy & paste from CMake Wiki # Works only if CMake runs in the Visual Studio DOS Window SET(MASMFound FALSE) # test whether it is a x86 machine and masm is available IF("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86") ENABLE_LANGUAGE(ASM_MASM) IF(CMAKE_ASM_MASM_COMPILER

Re: [CMake] Sub dependencies?

2011-08-15 Thread David Cole
What is line 49 of your CMakeLists file...? The output indicates it has a command on it that yields the error... On Aug 12, 2011, at 9:55 PM, Doug wrote: > I see. > > I've tried this approach and I get the error: > -- Found LIBPNG > CMake Error at CMakeLists.txt:49 (export): > export given

Re: [CMake] append command

2011-08-15 Thread David Cole
On Aug 13, 2011, at 2:57 PM, Clifford Yapp wrote: > On Sat, Aug 13, 2011 at 5:14 AM, Glenn Coombs wrote: > >> I haven't seen any discussion yet of my 2nd alternative of getting cmake to >> automatically convert lists to space separated strings for certain variables >> like CMAKE_EXE_LINKER_FL

Re: [CMake] append command

2011-08-15 Thread David Cole
On Aug 13, 2011, at 5:14 AM, Glenn Coombs wrote: > Out of all the suggestions so far I'd like to say that my preferred solution > is Michael's one of: > > SET( ... CONCAT [SEP ]) > > I haven't seen any discussion yet of my 2nd alternative of getting cmake to > automatically convert lists

Re: [CMake] hook __EOF__

2011-08-15 Thread Michael Wild
On Mon 15 Aug 2011 10:12:59 AM CEST, t m wrote: > Hi All, > > I guess it's not commonly used feature. Does anyone who knows a code > of cmake a bit can provide information if that's possible at all? > > Thanks, T Majchrowski. > > > 2011/8/11 t m : >> Hi All, >> >> Is it possible to register hoo

Re: [CMake] hook __EOF__

2011-08-15 Thread t m
Hi All, I guess it's not commonly used feature. Does anyone who knows a code of cmake a bit can provide information if that's possible at all? Thanks, T Majchrowski. 2011/8/11 t m : > Hi All, > > Is it possible to register hook function that will be called at the > end of processinf of CMakeLis