On Wednesday 29 September 2010, Alexander Neundorf wrote:
...
I have some thoughts, but it's not completely clear yet.
Somehow I think if a file is include()d from CMAKE_MODULE_PATH,
CMAKE_MODULE_PATH should be considered when it does its own include()s.
If it's not included via
On 29. Sep, 2010, at 20:09 , Clifford Yapp wrote:
After working for a while at converting a project to CMake, I would
like to ask a question/suggest a feature for CMake.
The project I am working on (BRL-CAD) includes various external
libraries that it relies on on a subdirectory, with a
Hello Eric,
On 2010-09-29 17:51, pellegrini wrote:
Hello everybody,
I would like to compile my project using intel fortran compiler on my
windows machine.
When running the following commands:
cmake -DCMAKE_Fortran_Compiler=ifort -GNMake Makefiles
nmake VERBOSE=1
I can see that nmake use
On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
Dear cmake experts,
I like to use GNU stow to install self-compiled packages on my system.
For this to work best, I have to be able to specify during package
configuration a different runtime location (the directory prefix the
package
On Wed, 2010-09-29 at 18:16 +0200, pellegrini wrote:
Hello everybody,
I come back with a question I asked yesterday but that I surely
misformulated. In the meantime I turned around
the problem all the day but still without any results ...
I would like to build my project using ifort
Michael Wild them...@gmail.com writes:
On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
I was not able to find out how to specify different installation and
runtime locations with cmake.
Why must your program know anything about the $HOME prefix? After all,
it's only symlinked there.
Hi Michael
Thanks for your reply.
The only difference between -fpic and -fPIC is that the latter has no limit
on the size of the global offsets table and this is only relevant for the
m68k, PowerPC and SPARC architectures (according to the GCC manual page).
Yes, we aren't using those
On 30. Sep, 2010, at 11:11 , Christoph Groth wrote:
Michael Wild them...@gmail.com writes:
On 30. Sep, 2010, at 10:51 , Christoph Groth wrote:
I was not able to find out how to specify different installation and
runtime locations with cmake.
Why must your program know anything about
On Thu, 2010-09-30 at 10:15 +0100, David Aldrich wrote:
Hi Michael
Thanks for your reply.
The only difference between -fpic and -fPIC is that the latter has
no limit
on the size of the global offsets table and this is only relevant
for the
m68k, PowerPC and SPARC architectures
On 30. Sep, 2010, at 11:15 , David Aldrich wrote:
Hi Michael
Thanks for your reply.
The only difference between -fpic and -fPIC is that the latter has no limit
on the size of the global offsets table and this is only relevant for the
m68k, PowerPC and SPARC architectures (according to
Hi Michael
For one, you are missing -ldl. Add ${CMAKE_DL_LIBS} to your
target_link_libraries call.
Thanks for pointing that out. It's in there now:
/usr/bin/c++ -O3 -DNDEBUG -Wall -m64 -o myProj -rdynamic Kernel/libKernel.a
-ldl -lpython2.4
--export-dynamic may be also necessary, if your
Hi,
I use cmake with qt projects for desktop application. Recently I've been
started developing for symbian.
I've found a generator for carbide but I use Qt Creator.
I would like to generate Makefile like qmake does and then build the project
with the Symbian toolchain.
Qmake has also the
Hi
I tried adding:
SET(CMAKE_EXE_EXPORTS_CXX_FLAG -Wl,--export-dynamic)
But that made no difference to the link command. Am I doing the right thing?
Fixed this by doing:
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS )
...
SET_TARGET_PROPERTIES(zodiac PROPERTIES ENABLE_EXPORTS ON)
I now have:
Hi
Ok, by following the link to the wiki suggested by Michael Loose, I used:
target_link_libraries( myProj -Wl,-whole-archive Kernel -Wl,-no-whole-archive)
This has fixed my problem. The executable links and runs correctly.
My link command is now:
/usr/bin/c++ -O3 -DNDEBUG -Wall -m64
On 30. Sep, 2010, at 13:05 , David Aldrich wrote:
Hi
Ok, by following the link to the wiki suggested by Michael Loose, I used:
target_link_libraries( myProj -Wl,-whole-archive Kernel -Wl,-no-whole-archive)
This has fixed my problem. The executable links and runs correctly.
My link
Hi Michael
So, the options are:
- use -whole-archive as you do now
- make the Kernel library shared
- link the dlopen'ed libraries against Kernel
Thanks very much - I understand. I think I will keep the -whole-archive method.
However, now I'm worried about how I link in the Python
On 30. Sep, 2010, at 13:30 , David Aldrich wrote:
Hi Michael
So, the options are:
- use -whole-archive as you do now
- make the Kernel library shared
- link the dlopen'ed libraries against Kernel
Thanks very much - I understand. I think I will keep the -whole-archive
method.
On Thu, 2010-09-30 at 12:30 +0100, David Aldrich wrote:
Hi Michael
So, the options are:
- use -whole-archive as you do now
- make the Kernel library shared
- link the dlopen'ed libraries against Kernel
Thanks very much - I understand. I think I will keep the
-whole-archive method.
This works. Thanks. Save me from a lot of trouble.
On Wed, Sep 29, 2010 at 11:07 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 9/29/2010 11:02 AM, elizabeta petreska wrote:
This is the link to bug report
http://www.paraview.org/Bug/view.php?id=11274
OK, I have fixed the issue in
I use cmake with qt projects for desktop application. Recently I've been
started developing for symbian.
I've found a generator for carbide but I use Qt Creator.
I would like to generate Makefile like qmake does and then build the project
with the Symbian toolchain.
Qmake has also the
Aaron,
Thanks for posting. Could you open a new bug report and attach your patch
to it?
On Wed, Sep 29, 2010 at 9:33 PM, aaron.mead...@thomsonreuters.com wrote:
*Hi all. I noticed that CMakeDetermineVSServicePack.cmake only supports
vs2005, vs2005 sp1, vs2008, vs2008 sp1. I wanted to use
On 09/30/2010 01:50 AM, Michael Wild wrote:
2. Because ExternalProject_Add does a full build and install prior to
building other targets (which I think is fine) I sometimes put myself
in the annoying position of building the whole system, then realizing
I forgot to clean an old build out of
On Thu, Sep 30, 2010 at 12:43 PM, Nicola Brisotto
nicolabriso...@gmail.com wrote:
Hi,
I use cmake with qt projects for desktop application. Recently I've been
started developing for symbian.
I've found a generator for carbide but I use Qt Creator.
I would like to generate Makefile like qmake
Bill Hoffman bill.hoff...@kitware.com
writes:
On 9/24/2010 1:03 PM, Óscar Fuentes wrote:
JOM does a nice work compiling multiple files of the same top-level
product (.exe, .dll etc) but for some reason it doesn't build multiple
top-level targets in parallel. Here I have a project that
On 9/30/2010 10:03 AM, Óscar Fuentes wrote:
Is this a limitation of JOM or an oversight of CMake?
This is a job limitation.
What this means?
It means my spell checker turned jom into job... :)
This is a limitation of jom, I know the maintainer of jom said he wanted
to work on this as a
Bill Hoffman bill.hoff...@kitware.com
writes:
[snip]
This is a limitation of jom, I know the maintainer of jom said he
wanted to work on this as a feature, but I don't think he has done it
yet...
Thanks Bill.
I'll open a bug report on the Qt bug tracker just to let him know that
someone
Done. Issue number 11279.
[http://public.kitware.com/Bug/view.php?id=11279]
I also noted that the script could be improved by calling the compiler
with the '/?' switch and parsing it's output instead of parsing the
output from try_compile'ing a simple c file it writes. That would make
it
Hi,
until recently I was pretty sure that CMake uses default compiler /
linker options that you usually get when setting up a VisualStudio
project by hand.
I was proven wrong after our latest code changes killed the compiler
with 'compiler is out of heap space' error messages. The problem, as
Hi,
I'm trying to use file(COPY ... during the build of one of my project.
The documentation says that files get overwritten according to their
timestamps, but it seems they just never get overwritten.
For instance, with this CMakeLists :
===
project(test)
I use Qt creator with cmake for desktop application and it work well. It has
support for out of source build, it populate the project browser with you
source and header, etc
My main issue is not a full Qt Creator integration. My first need is build with
cmake from console.
Currently Qt support
Hi Marcel
Considering all the hassle you have to go through. Why don't you build a
shared libKernel.so library and let the runtime loader fix all the
issues you're now trying to solve compile/link time?
Thanks for your suggestion. I'm not sure how that would work out. At start-up
the runtime
On 30. Sep, 2010, at 15:24 , Cliff Yapp wrote:
On 09/30/2010 01:50 AM, Michael Wild wrote:
2. Because ExternalProject_Add does a full build and install prior to
building other targets (which I think is fine) I sometimes put myself
in the annoying position of building the whole system,
Using set_target_properties() we can set the COMPILE_DEFINITIONS target
property to easily define preprocessor macros for our build. Is there a
mechanism to undefine preprocessor macros (equivalent to -U for many Unix
compilers or /U for Microsoft's compilers)?
Thanks,
Steve
Either add it to your COMPILE_FLAGS, or create/configure a header file
with #undef lines.
Ryan
On 09/30/2010 01:18 PM, Steven Wilson wrote:
Using set_target_properties() we can set the COMPILE_DEFINITIONS
target property to easily define preprocessor macros for our build.
Is there a
On Wed, Sep 29, 2010 at 8:09 PM, Clifford Yapp cliffy...@gmail.com wrote:
After working for a while at converting a project to CMake, I would
like to ask a question/suggest a feature for CMake.
The project I am working on (BRL-CAD) includes various external
libraries that it relies on on a
On Thursday 30 September 2010, Nicola Brisotto wrote:
I use Qt creator with cmake for desktop application and it work well. It
has support for out of source build, it populate the project browser with
you source and header, etc My main issue is not a full Qt Creator
integration. My first need
On Thursday 30 September 2010, Ryan Pavlik wrote:
Either add it to your COMPILE_FLAGS, or create/configure a header file
with #undef lines.
There is also the cmake command remove_definitions()
Alex
___
Powered by www.kitware.com
Visit other
Is it possible to update the FindGit.cmake module to be more friendly? I
changed the line:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
DOC git command line client
)
To:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
PATHS $ENV{ProgramFiles}/Git/bin
DOC git command line client
On Mon, Sep 20, 2010 at 09:07:34AM -0700, Keith Gunderson wrote:
I'm using a MSVC 9.0 Generator with Cmake 2.8.2
How do I add a change so that the command for my RUN_TESTS project changes
from
the default of:
C:\Program Files\CMake 2.8\bin\ctest.exe --force-new-ctest-process -C
Oops. I just realized I already requested this (with the same title no less).
This didn't make it into the latest RC for Cmake. Does anyone know if it's
planned for next?
--
Shane Dixon
Linux Engineer
Atmel Corporation
-Original Message-
From: cmake-boun...@cmake.org
2010/9/30 Guillaume Duhamel guillaume.duha...@gmail.com:
Hi,
I'm trying to use file(COPY ... during the build of one of my project.
file(COPY ... is a **CMake-time** command, i.e. it will be processed
when CMake runs
and not when building (unless make is triggering a cmake run)
If you want
Is CMake supposed to stop the VS build when configure fails?
1CMake Error in samples/traversal/CMakeLists.txt:
1 Cannot find source file traversal.c. Tried extensions .c .C .c++ .cc
1 .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
1-- Build files have been written to:
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler jamesbig...@gmail.com wrote:
I'm currently using VS 2008 64 bit with CMake 2.6.3.
This also happens with 2.8.3 RC1.
James
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
On Thu, Sep 30, 2010 at 7:47 PM, James Bigler jamesbig...@gmail.com wrote:
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler jamesbig...@gmail.com wrote:
I'm currently using VS 2008 64 bit with CMake 2.6.3.
This also happens with 2.8.3 RC1.
That is good. I would be worried if it did not. The
On Thu, Sep 30, 2010 at 7:42 PM, James Bigler jamesbig...@gmail.com wrote:
Is CMake supposed to stop the VS build when configure fails?
Yes.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hi All,
using cmake for a quite big project (with several sub-projects, some macros, find modules etc.) sometimes .vcxproj
contains output like this:
ItemDefinitionGroup Condition='$(Configuration)|$(Platform)'=='Debug|Win32'
ClCompile
AdditionalOptions /Zm1000 /bigobj
On Thu, Sep 30, 2010 at 11:04 AM, aaron.mead...@thomsonreuters.com wrote:
*Done. Issue number 11279. [
http://public.kitware.com/Bug/view.php?id=11279]*
* *
*I also noted that the script could be improved by calling the compiler
with the ‘/?’ switch and parsing it’s output instead of
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 7a195027b9ea40fef243a2b324a8258c2e62ef8d (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via d3d1532b03c4cb2d7a6be83dcdd7c4f65bd09f14 (commit)
via
49 matches
Mail list logo