Re: [CMake] looking for Visual Studio installation

2009-04-20 Thread Piotr Dobrogost
e're discussing this in this thread :) > > Maybe the answer is to create a .bat file that > > runs vsvars.bat and cmake-gui.exe and create a short cut to that. You > > could put that on the desktop and it should work. That would work but I'm not sure if _th

Re: [CMake] looking for Visual Studio installation

2009-04-20 Thread Piotr Dobrogost
l that is needed is to add some variables to cmake to control if one wants to set environment automatically on platforms where it's needed and possible. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com

Re: [CMake] looking for Visual Studio installation

2009-04-20 Thread Piotr Dobrogost
had any problems due to more than on VS installed? -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please kee

[CMake] cmake online docs - spelling errors

2009-04-19 Thread Piotr Dobrogost
Hi Below is a list of spelling errors in http://cmake.org/cmake/help/cmake2.6docs confguration availble behaviour lanauges successfull posibilities DEFINTIIONS incude standartized ompiler Esentially acces compatibilty seach NAMEand acutal onthis defaultis -- Piotr Dobrogost *** curlpp.org - c

Re: [CMake] looking for Visual Studio installation

2009-04-19 Thread Piotr Dobrogost
Andreas Pakulat wrote: > On 19.04.09 13:31:22, Piotr Dobrogost wrote: >> I get it. But wouldn't it be a GOOD THING to incorporate logic of >> vcvarsall.bat into cmake's module looking for VC? > That would mean it needs to find that file as first thing, because that

Re: [CMake] looking for Visual Studio installation

2009-04-19 Thread Piotr Dobrogost
er platform where user has to manually set environment each time he's going to use development tools? -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:/

[CMake] looking for Visual Studio installation

2009-04-18 Thread Piotr Dobrogost
to find VS even if these environment variables weren't set? Maybe using registry or just looking at default installation folder? -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit other Kitw

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
Bill Hoffman wrote: > Actually, it is that simple. I do it all the time. I have a bash file > that sets the variables needed for the compiler to work. Thanks. I'll give it a try. -- Piotr Dobrogost *** curlpp.org - c++ wrapper

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
recent post in above forum. > 2. run cmake-gui from a shell that has vsvars.bat already run in it. Yes, but that's a pain and it's ugly :) -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.ki

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
till don't know how to configure VC command line tools for gui tools like cmake-gui, though. I asked this question here http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/deb76102-7977-4e71-8e13-7da8cc990997 -- Piotr Dobrogost *** curlpp.org - c++

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
in this scenario; 1. Open command prompt. 2. Run cmake. (error "To use the NMake generator, cmake must be run from a shell that can use the compiler cl from the command line. This environment does not contain...") 3. Run vcvarsall.bat 4. Run cmake again. (error "CMakeFile

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
) is user responsibility, isn't it? Or is there a way to reconfigure build tree after such changes? > Also, what compiler version are you using? Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86 -- Piotr Dobrogost *** curlpp.org - c++ wr

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-18 Thread Piotr Dobrogost
elete all contents of build folder the next invocation of cmake runs without any errors. Below I give the whole output from cmake in case you need some more information. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** d:\projects\curl-build>cmake -G "NMake Makefiles" ..

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-17 Thread Piotr Dobrogost
ake doesn't find it. Where and how does cmake look for nmake? > should have been set by vcvarsall.bat but I've haven't actually tried it, I It's been set. I can run nmake from any directory after running vcvarsall.bat -- Piotr Dobrogost *** curlpp.org

[CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-16 Thread Piotr Dobrogost
program corresponding to "NMake Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. I don't get this error in GUI. What's wrong? -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl ***

Re: [CMake] managing lists with space separated elements

2009-04-13 Thread Piotr Dobrogost
d a chance to finish those changes yet. It's a pity. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] managing lists with space separated elements

2009-04-11 Thread Piotr Dobrogost
colon separated list (the only right list in cmake currently :) to space separated list in the last possible moment - when shell commands are constructed using variables' values. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ P

Re: [CMake] managing lists with space separated elements

2009-04-11 Thread Piotr Dobrogost
Bill Hoffman wrote: > Piotr Dobrogost wrote: >> Bill Hoffman wrote: >> >>> There is no such thing as a list with spaces in CMake, that is a string. >>> So, no there is no way to use the list command on strings directly. You >>> could use string

Re: [CMake] managing lists with space separated elements

2009-04-11 Thread Piotr Dobrogost
ture. Wouldn't that be useful to have this? I don't see any reason why not to support both kinds of commonly used lists instead of only one. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit o

Re: [CMake] managing lists with space separated elements

2009-04-11 Thread Piotr Dobrogost
ture. Wouldn't that be useful to have this? I don't see any reason why not to support both kinds of commonly used lists instead of only one. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit o

[CMake] managing lists with space separated elements

2009-04-10 Thread Piotr Dobrogost
_LIBRARIES}) LIST(REMOVE_ITEM _LIST "wldap32.lib") TO_LIST_SPACES(_LIST CMAKE_C_STANDARD_LIBRARIES) -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] lack of operator for easy string concatenation

2009-04-10 Thread Piotr Dobrogost
Jed Brown wrote: > I assume you have considered > > list (APPEND ...) > > and > > list (INSERT 0 ...) > > which should work for what you have described. Thanks for information. Any chances to have PREPPEND as one of options in the future? -- Piotr D

Re: [CMake] lack of operator for easy string concatenation

2009-04-08 Thread Piotr Dobrogost
John Drescher wrote: > On Wed, Apr 8, 2009 at 2:27 PM, Piotr Dobrogost > wrote: >> Hi >> >> Am I missing something or there is no operator for easy string >> concatenation in cmake? > > I guess its a matter of preference. I prefer the first/working example

Re: [CMake] CMake mailing lists on GMANE

2009-04-08 Thread Piotr Dobrogost
David Cole wrote: > You mean like this: > > http://article.gmane.org/gmane.comp.programming.tools.cmake.user/20692 Silly of me. I took it for some local group and not this one...without checking it out. Thanks. -- Piotr Dobrogost *** curlpp.org - c++ wrapper fo

[CMake] lack of operator for easy string concatenation

2009-04-08 Thread Piotr Dobrogost
/CMake;" or at least SET(CMAKE_MODULE_PATH += "${CMAKE_CURRENT_SOURCE_DIR}/CMake;") "+=" would mean to prepend to and "=+" to append to existing string. -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** _

[CMake] CMake mailing lists on GMANE

2009-04-08 Thread Piotr Dobrogost
Hi Is there something I don't know that would prevent adding CMake's mailing lists to GMANE so they would be accessible and searchable more easily? -- Piotr Dobrogost *** curlpp.org - c++ wrapper for libcurl *** ___ Powered by www.kitware.

Re: [CMake] CMake used by Boost?

2009-03-21 Thread Piotr Dobrogost
pring. Are you going to record your lecture and make it available? Piotr Dobrogost ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check t

[CMake] CMake used by Boost?

2009-03-21 Thread Piotr Dobrogost
Hi On the following page http://www.cmake.org/cmake/help/documentation.html one can read the following statement "In addition many other popular open source projects use CMake such as VTK, ITK, ParaView, VXL, SecondLife and Boost." Does Boost really use CMake and not Boost.Build as a build system