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
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
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
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
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
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:/
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
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
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
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++
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
) 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
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" ..
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
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 ***
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
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
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
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
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
_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
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
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
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;"
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 ***
_
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.
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
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
28 matches
Mail list logo