Hello eveyone,
I am just new to cmake and have some trouble when compiling a big
project whose cpp source files are put deep inside subdirectories.
In my CMakeLists.txt, I use AUX_SOURCE_DIRECTORY(subdir VARX) and
SET(SRC ${VAR1} ${VAR2} ...) to put all the source files in a
variable, and then
Hi all.
I have a larger project, consist of some libraries.
I've ported it to CMake and it've been build well at all my platforms(vs
2005,vs 2008,mingw), but VS 2003.
In VS .Net 2003 cmake creates additional projects for each library, called
XXX_UTILITY, and adds project dependencies through those
2008/9/22 Philip Lowman [EMAIL PROTECTED]:
On Sat, Sep 13, 2008 at 4:12 PM, Gotthard, Petr
[EMAIL PROTECTED] wrote:
Hello,
would you accept a new module: FindRTI.cmake?
[...]
First version of the FindRTI.cmake module is ready and I volunteer to be
its maintainer.
I would also like to
Hendrik Sattler schrieb:
Am Sunday 21 September 2008 17:20:19 schrieb Eric Noulard:
There is bug report about this
http://www.vtk.org/Bug/view.php?id=6042
pointing to this CMake module
http://code.google.com/p/cmake-modules/source/browse/trunk/Modules/GTK2/Fin
dGTK2.cmake
I haven't tested it
CMake Error: GTK NOT FOUND
-- Configuring done
make: *** [cmake_check_build_system] Error 255
GTK 2.0 comes into my Kubuntu 8.0.4 system with a standard debian
package. Nothing customized. All in standard paths.
Make sure you have the development package installed as well as that
is where
Óscar Fuentes wrote:
Several libraries depends on a generared header file. For enabling
parallel builds I need to state that dependency, and I do it with
set_source_files_properties. This happens inside a macro:
macro(add_llvm_library name)
if( LLVM_SOURCE_COMMON_DEPENDS )
On Mon, Sep 22, 2008 at 10:00 AM, Roy Zuo [EMAIL PROTECTED] wrote:
Hello eveyone,
I am just new to cmake and have some trouble when compiling a big
project whose cpp source files are put deep inside subdirectories.
In my CMakeLists.txt, I use AUX_SOURCE_DIRECTORY(subdir VARX) and
SET(SRC
Hello, Brad.
Brad King [EMAIL PROTECTED] writes:
Óscar Fuentes wrote:
Several libraries depends on a generared header file. For enabling
parallel builds I need to state that dependency, and I do it with
set_source_files_properties. This happens inside a macro:
macro(add_llvm_library
Óscar Fuentes [EMAIL PROTECTED] writes:
macro(add_llvm_library name)
add_library(${name} ${ARGN})
add_dependencies(${name} ${LLVM_SOURCE_COMMON_DEPENDS})
endmacro()
This doesn't work.
My wrong. This works.
--
Oscar
___
CMake
Does cmake support nested while loops? I have a quadruple nested while
loop and it looks as though only the inner most loop is being executed
once.
HEre is a CMakeLists.txt file that illustrates the problem:
I tried this on CMake 2.6.1 and CMake CVS HEAD.. Any help would be
appreciated. I
On Sunday 21 September 2008 18:58:50 Hendrik Sattler wrote:
pointing to this CMake module
http://code.google.com/p/cmake-modules/source/browse/trunk/Modules/GTK2/F
in dGTK2.cmake
I haven't tested it though.
Looks not too good (it doesn't even use foreach for this endless list of
doing
I have a release candidate (RC 5) for 2.6.2 ready for CMake. I think
this one will be it for 2.6.2, so speak now or forever hold your peace... :)
Thanks.
The files can be found here:
http://www.cmake.org/files/v2.6/*RC-5*
The changes from 2.6.2 to 2.6.1 are as follows:
Changes in CMake
Hi,
I create some custom targets, but I would like that make does NOT DO it if I
run make, _only_ when I run make mytarget.
Is this possible?
Regards,
Leo
--
--
Linux User 152692
PGP: 0xF944807E
Catalonia
signature.asc
Description: This is a digitally signed message part.
On Monday 22 September 2008 20:00:03 Leopold Palomo Avellaneda wrote:
Hi,
I create some custom targets, but I would like that make does NOT DO it if
I run make, _only_ when I run make mytarget.
Is this possible?
Use add_custom_target without the ADD. See the doc for add_custom_target.
--
Any chance of getting Bug 6195 put into this release. This is an
important bug/feature for OS X users.
---
Mike Jackson - Principal Software Engineer
www.bluequartz.net
On Sep 22, 2008, at 1:56 PM, Bill Hoffman wrote:
I have a release candidate (RC 5) for 2.6.2 ready for CMake. I think
On 2008-09-22 13:56-0400 Bill Hoffman wrote:
I have a release candidate (RC 5) for 2.6.2 ready for CMake. I think this one
will be it for 2.6.2, so speak now or forever hold your peace... :)
Could we have a fix for the enable_language bug #4772? I don't know the
CMake code well enough to
Alan W. Irwin wrote:
On 2008-09-22 13:56-0400 Bill Hoffman wrote:
I have a release candidate (RC 5) for 2.6.2 ready for CMake. I think
this one will be it for 2.6.2, so speak now or forever hold your
peace... :)
Could we have a fix for the enable_language bug #4772? I don't know the
CMake
Mike Jackson wrote:
Any chance of getting Bug 6195 put into this release. This is an
important bug/feature for OS X users.
Sorry, that will have to wait until 2.6.3. Too much of a new feature.
There are some issues with 2.6.1 that really need to be fixed so that
some existing projects
Hello list,
I was wondering if a better way to handle failed find_library under
windows would be to give the user a chance to manually find the package
before giving an error. I know the user always has the chance to specify
the path afterwards in the GUI, but I think that for users that are
A Dilluns 22 Setembre 2008, Esben Mose Hansen va escriure:
On Monday 22 September 2008 20:00:03 Leopold Palomo Avellaneda wrote:
Hi,
I create some custom targets, but I would like that make does NOT DO it
if I run make, _only_ when I run make mytarget.
Is this possible?
Use
Christopher Harvey wrote:
Hello list,
I was wondering if a better way to handle failed find_library under
windows would be to give the user a chance to manually find the package
before giving an error. I know the user always has the chance to specify
the path afterwards in the GUI, but I
As long as we can get it on the todo map for 2.6.3 I am ok with that.
---
Mike Jackson - Principal Software Engineer
www.bluequartz.net
On Sep 22, 2008, at 3:22 PM, Bill Hoffman wrote:
Mike Jackson wrote:
Any chance of getting Bug 6195 put into this release. This is an
important
On 2008-09-22 12:04-0700 Alan W. Irwin wrote:
On 2008-09-22 13:56-0400 Bill Hoffman wrote:
I have a release candidate (RC 5) for 2.6.2 ready for CMake. I think this
one will be it for 2.6.2, so speak now or forever hold your peace... :)
Could we have a fix for the enable_language bug #4772?
Alan W. Irwin wrote:
Never mind since you indicated in your answer to Mike you were only
interested in fixing newly introduced bugs for this release, and this CMake
bug has been around a long time.
On the other hand it is bad when a clear and obvious bug like this one
persists for a long time
Kitware is pleased to announce the next Developer's Training Week for
VTK, ITK, ParaView and CMake, which will be held November 3-6, 2008 in
Clifton Park, NY. Course details are provided below and online at
http://www.kitware.com/products/protraining.html. Early Registration
ends September 30th.
On Monday 22 September 2008 21:33:36 Leopold Palomo Avellaneda wrote:
without the ALL, not the ADD, no?
indeed :)
--
kind regards, Esben
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
On Mon, Sep 22, 2008 at 4:15 PM, Mike Jackson
[EMAIL PROTECTED] wrote:
Assuming you mean a library that you are creating the default is static. If
you want a dynamic library then use the SHARED keyword:
add_library (mylib SHARED libsource.cpp)
I understand that. But later in my script I want
You will probably have to set your own variable into the cache and
then check that variable later on in your scripts
---
Mike Jackson - Principal Software Engineer
www.bluequartz.net
On Sep 22, 2008, at 5:23 PM, Aleksander Demko wrote:
On Mon, Sep 22, 2008 at 4:15 PM, Mike Jackson
[EMAIL
Dang, that won't work for me. I'm in effect trying to make my own
EXPORT like command (export doesn't maintain C flags or other stuff I
need) so I need to be able to gleam a bunch of info from the library
targets dynamically.
Basically I want to quickly build one library in one cmake session,
On 2008-09-22 16:44-0400 Bill Hoffman wrote:
[...]this bug is a bit of a corner case. Most projects just enable all the
languages as the top of the project. In this case, no one could have a
project that depends on this working because it never worked. However, I will
try to get to it soon.
Alan W. Irwin wrote:
On 2008-09-22 16:44-0400 Bill Hoffman wrote:
[...]this bug is a bit of a corner case. Most projects just enable
all the languages as the top of the project. In this case, no one
could have a project that depends on this working because it never
worked. However, I will
On 2008-09-22 18:25-0400 Bill Hoffman wrote:
Another approach might be to use enable_language(languageName OPTIONAL).
Would this work:
enable_language(Fortran OPTIONAL)
project(myproject C CXX)
It would always test for fortran, and enable it if they have it. If they do
not have it, then
Alan W. Irwin wrote:
enable_language(Fortran OPTIONAL)
project(myproject C CXX)
It would always test for fortran, and enable it if they have it. If
they do not have it, then you can just turn off that binding. It
won't be an error not to have it. If they do have it you can offer
the
Hello,
I am using CMake to search for dependencies using `find_library` and
`find_path` and when dependencies are missing I print a message out.
Output:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for
in your message command use FATAL_ERROR instead of STATUS which
should stop cmake right away.
_
| Mike Jackson - Principal Software Engineer |
| BlueQuartz Software |
| [EMAIL PROTECTED] |
|
Bill,
Is a switch to Subversion still planned at some point in the near future for
CMake?
On occasion I have wanted to checkout the latest CVS from work and am
reminded of the corporate firewall. =)
--
Philip Lowman
___
CMake mailing list
Hi Bill:
I am going to change the subject line since this is now morphed into
a different topic.
On 2008-09-22 20:12-0400 Bill Hoffman wrote:
I am thinking if you have the enable_language BEFORE the project command it
will get around the bug, and work as you want it to.
That doesn't work
Alan W. Irwin wrote:
i.e., the only pattern that gives the correct result is one that does not
use ENABLE_LANGUAGE.
I did all the above tests with 2.6.0, but previously I have shown the CVS
version of CMake had similar problems.
OK, thanks for trying it.
I noticed that you only test with
On 2008-09-22 22:08-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
i.e., the only pattern that gives the correct result is one that does not
use ENABLE_LANGUAGE.
I did all the above tests with 2.6.0, but previously I have shown the CVS
version of CMake had similar problems.
OK, thanks for
39 matches
Mail list logo