://www.cmake.org/pipermail/cmake/attachments/20090330/7f25dda2/attachment.htm
___
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 the CMake FAQ at:
http
Hello,
I guess you are running the installer as administrator and also tried
restarting the operating system after installing. If I remember
correctly I sometimes needed to restart the operating system for path
changes to take effect with default NSIS script. I do not remember
exactly with which
2009/3/29 Stephen Collyer scoll...@netspinner.co.uk:
I've created an NSIS based installer by using the Cpack module in a
CMakeLists.txt file,
and have tried the CPACK_NSIS_MODIFY_PATH setting to add the installation
path
to PATH automagically.
When I run the installer, I see the appropriate
2009/3/30 david_bjorn...@agilent.com:
From one top level project, is there’s a way to produce log files on Linux (
Unix Makefiles) in the same fashion a Windows Visual Studio build does?
For example, on Windows when you run ALL_BUILD, you will generated the
following files
On Sun, Mar 29, 2009 at 8:55 PM, Stephen Collyer
scoll...@netspinner.co.uk wrote:
When I run the installer, I see the appropriate page (with the add to this
user/all users questions)
but the path is never added, regardless of which option I select.
This is with cmake 2.6.1 and NSIS 2.44,
2009/3/30 Eric Noulard eric.noul...@gmail.com
2009/3/29 Stephen Collyer scoll...@netspinner.co.uk:
I've created an NSIS based installer by using the Cpack module in a
CMakeLists.txt file,
and have tried the CPACK_NSIS_MODIFY_PATH setting to add the installation
path
to PATH
Hi,
I have set up a toolchain file [1] to enable cross-compiling a project. In
my current setup, both the host and target environments are
binary-compatible (both are x86 and are using gcc's with compatible ABIs).
When I generate a cross-compiled executable and run ldd, the paths to
libraries
Bill Hoffman schrieb:
Andreas Pokorny wrote:
Hello,
2009/3/23 Bill Hoffman bill.hoff...@kitware.com:
[..]
Basically, something that runs the new code. Compile a WinCE
project, and
somehow verify that it compiled it correctly.
So we need a couple of source files that pull in at least some
I have seen several requests for an autoheader type function to be added
to CMake. I have never used autoheader, but I gather it takes a list of
variables and generates a config.h.in file automatically. Does anyone
on the list have experience with autoheader? If so, what would a nice
CMake
James Bigler wrote:
I filed a documentation bug:
http://public.kitware.com/Bug/view.php?id=8815
I've committed documentation and updated the bug entry.
BTW, is there a particular reason why custom commands are only
registered in the directory where they appear? They seem kind of like
the
Hello,
There is a little bug for the generation of eclipse MinGW project in cmake.
The thing is the custom targets are not added to the list of make target in
the .cproject.
For example if I want to add the doc target to generate my documentation
such as:
ADD_CUSTOM_TARGET(doc ALL COMMAND
Hi all,
I am running cmake version 2.6-patch 2.
I stumbled over the following, and I think it is a bug.
If I run cmake on this CMakeLists.txt:
cmake_minimum_required(VERSION 2.6)
set(options
fine
good
bad)
#option(fine Fine OFF)
#option(good Good OFF)
option(bad Bad OFF)
foreach(opt
Oops, forgot to reply to the mailing list as well.
---BeginMessage---
Hi Bill,
This really is a feature I've been missing in CMake as well.
As far as autoheader is concerned, I suggest you'd read at least the
documentation that comes with it ('info autoheader' on Linux).
Basically, what
Zitat von Bill Hoffman bill.hoff...@kitware.com:
I have seen several requests for an autoheader type function to be
added to CMake. I have never used autoheader, but I gather it takes a
list of variables and generates a config.h.in file automatically. Does
anyone on the list have experience
Copying directory from source tree to binary tree. For example: How to copy
www to bin folder.
work
├─bin
└─src
├─doing
│ └─www
├─include
└─lib
Thanks.
--
Bian Jiang
Blog: http://www.wifihack.net/
___
Powered by www.kitware.com
Looking at BundleUtilities.cmake, I would say the best thing to do here
would be to add some logic to the copy_resolved_item_into_bundle function
that deals with copying an entire framework as a directory copy rather than
just copying the library file itself.
I will think about what's the best
I would use execute_process and call cmake -E. If you want a deep copy, you
can use the copy_directory command. Even better, you could create a symlink
(if your platform supports it) with the create_symlink command. The latter
can be achieved like this:
execute_process(COMMAND ${CMAKE_COMMAND} -E
Just off the top of my head a copy_framework function with some
optional parameters to prune the Headers directory or other
directories might be nice. For bonus points, prune older versions of
the library that are in the framework, ie those NOT pointed to by
Versions-Current.
Wish I
Eric Noulard wrote:
Seems like a RedHat specific RPM bugs.
Do you think it's rpm = 4.6.0 issue or Fedora 10 one?
I think it's rpm issue because Buildroot from spec file ignoring
declared release notes of rpm 4.6.0 on main development site and there
is no distribution dependent exceptions on
Hi,
I import some libs like this:
add_library(${name} ${type} IMPORTED)
set_target_properties(${name} PROPERTIES
IMPORTED_LINK_INTERFACE_LIBRARIES ${other_imported_libs}
IMPORTED_LOCATION ${file}
)
At the end, I link an executable
Hendrik Sattler wrote:
Zitat von Bill Hoffman bill.hoff...@kitware.com:
I have seen several requests for an autoheader type function to be
added to CMake. I have never used autoheader, but I gather it takes a
list of variables and generates a config.h.in file automatically. Does
anyone on
On Monday 30 March 2009 16:58:47 Bill Hoffman wrote:
I think you could do this pretty easily in a function, and a command
would not be needed. Anyway, does the API look good?
Looks good to me!
--
Cheers,
Mike Arthur
http://mikearthur.co.uk/
___
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
But I don't know how to use it in cmake?
And, another question: If I use MinGW+Qt, but not M$ VC++, can I use it?
Thanks.
---Qt
On Mon, Mar 30, 2009 at 6:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
But I don't know how to use it in cmake?
Just add the .rc file to the sources
On Mon, Mar 30, 2009 at 12:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
But I don't know how to use it in cmake?
And, another question: If I use
On Sun, Mar 29, 2009 at 9:31 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
Robert Dailey wrote:
But it does work! I've tested it several times with much success! I'm not
sure what you're saying about *.c, *.cxx, and *.h. Could you explain? Also,
I won't have access to a bash shell on
On Sun, Mar 29, 2009 at 11:46 PM, James Bigler jamesbig...@gmail.comwrote:
Why doesn't *.[hi]pp work? It works for me with ls and with file(GLOB):
$ touch blah.hpp blah2.ipp
$ ls *.[hi]pp
blah.hppblah2.ipp
Also, if the glob expressions get translated into regular expressions,
is
Robert Dailey wrote:
Just like regex, I don't believe there is an official standard for
glob expressions. I think what you should do is implement the common
intersection set of functionality just like everyone else does. You're
trying to find the right way to do it when a right way has not
Am Montag 30 März 2009 17:58:47 schrieb Bill Hoffman:
So, what would the API be? I am thinking something that you just give a
list of variables and a file name.
set(VARS HAS_A HAS_B HAS_C)
set(STRING_VARS STRING_A STRING_B)
cmake_autoheader(CMAKEDEFINE_VARS ${VARS}
On Monday 30 March 2009, Benoit wrote:
Hello,
There is a little bug for the generation of eclipse MinGW project in cmake.
The thing is the custom targets are not added to the list of make target in
the .cproject.
Which version of cmake ?
This has been changed recently, so if you are not
On Monday 30 March 2009, Adolfo Rodríguez wrote:
Hi,
I have set up a toolchain file [1] to enable cross-compiling a project. In
my current setup, both the host and target environments are
binary-compatible (both are x86 and are using gcc's with compatible ABIs).
When I generate a
There may indeed be a bug (at least in the documentation).
In CMake 'if' statements are a little different than you might think. From
the documentation of 'if' (cmake --help-command if):
if(variable STREQUAL string)
if(string STREQUAL string)
Now with your code you had:
On Mon, 2009-03-30 at 12:17 -0400, John Drescher wrote:
On Mon, Mar 30, 2009 at 12:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
But I don't know how
On Mon, 2009-03-30 at 18:15 +0200, Pau Garcia i Quiles wrote:
On Mon, Mar 30, 2009 at 6:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
But I don't
Kermit Mei schrieb:
On Mon, 2009-03-30 at 18:15 +0200, Pau Garcia i Quiles wrote:
On Mon, Mar 30, 2009 at 6:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
wrote with Qt4. I looked up the assistant, it told me the following.
On Mon, 2009-03-30 at 20:17 +0200, Christian Ehrlicher wrote:
Kermit Mei schrieb:
On Mon, 2009-03-30 at 18:15 +0200, Pau Garcia i Quiles wrote:
On Mon, Mar 30, 2009 at 6:04 PM, Kermit Mei kermit@gmail.com wrote:
Hello community! I want to change my program's icon on windows, and it
I am trying to define an operation in a custom targt that varies on
different platforms and take different command line arguments. I
tried defining the command using something like:
set(Command command_name -flags)
Then using it like:
set_custom_target(TargetName ${SomeOtherCommand}
Same here
.. Original Message ...
On Mon, 30 Mar 2009 17:04:00 +0100 Mike Arthur m...@mikearthur.co.uk
wrote:
On Monday 30 March 2009 16:58:47 Bill Hoffman wrote:
I think you could do this pretty easily in a function, and a command
would not be needed. Anyway, does the API look good?
Hi,
What's the proper way to define a list? Suppose I have 3 words: Foo, Bar,
and Baz. I want these 3 strings to be in a list called Stuff. Would I do
this:
set( Stuff Foo;Bar;Baz )
Is this correct? I don't think this can be right because it runs the risk of
mixing semi-colons with spaces to
On Monday 30 March 2009, Robert Dailey wrote:
Hi,
What's the proper way to define a list? Suppose I have 3 words: Foo, Bar,
and Baz. I want these 3 strings to be in a list called Stuff. Would I do
this:
set( Stuff Foo;Bar;Baz )
Is this correct?
Yes, this is identical to
set( Stuff
Alexander Neundorf wrote:
On Monday 30 March 2009, Robert Dailey wrote:
Hi,
What's the proper way to define a list? Suppose I have 3 words: Foo, Bar,
and Baz. I want these 3 strings to be in a list called Stuff. Would I do
this:
set( Stuff Foo;Bar;Baz )
Is this correct?
Yes, this is
On Mon, Mar 30, 2009 at 2:41 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
Alexander Neundorf wrote:
On Monday 30 March 2009, Robert Dailey wrote:
Hi,
What's the proper way to define a list? Suppose I have 3 words: Foo, Bar,
and Baz. I want these 3 strings to be in a list called Stuff.
Can we automatically extract an equivalent cmake command line after running
ccmake?
Take care, Darren
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
See attached Makefile.
For example, to get VTK-5-4-0 by a cvs checkout, do:
$ make VTK
Note that it has specific path assumptions and it removes any current
checkouts in the target paths. It's only doing cvs checkout, using a
release tag. It's not initiating a build (that's handled with
Hi,
I realize there's another post on the list where another user was asking
relatively the same question, but this specific issue was never addressed.
What I'm trying to do is specify include directories on a per-project basis.
I'm avoiding the monolithic shared include directories approach,
On Monday 30 March 2009, Robert Dailey wrote:
I thought there was no explicit string syntax in CMake. After all, you can
do this:
message( Hello )
using no quotes.
Suppose I have a list of files:
C:\file 1.txt
C:\file 2.txt
Notice the space in each one.
If I wanted to create a list
Thanks Adolfo:
It's work fine, I can't create a symlink so use copy_directory.
execute_process(COMMAND ${CMAKE_COMMAND} -E
copy_directory${CMAKE_SOURCE_DIR}/path/to/www
${CMAKE_BINARY_DIR}/path/to/www)
2009/3/30 Adolfo Rodríguez dof...@gmail.com
I would use execute_process and call cmake
On Mon, Mar 30, 2009 at 4:09 PM, Darren Weber
darren.weber.li...@gmail.comwrote:
Can we automatically extract an equivalent cmake command line after running
ccmake?
Take care, Darren
If you're using the Makefile generator you can simply type make edit_cache
in your build tree after you've
On Mon, Mar 30, 2009 at 9:27 PM, Philip Lowman phi...@yhbt.com wrote:
On Mon, Mar 30, 2009 at 4:09 PM, Darren Weber
darren.weber.li...@gmail.com wrote:
Can we automatically extract an equivalent cmake command line after
running ccmake?
Take care, Darren
If you're using the Makefile
49 matches
Mail list logo