Hey,
I worked on a patch for supporting dep-tracking with GetPrequesites when
cross-compiling for Windows with MinGW.
While doing this I noticed neither WIN32 nor CMAKE_CROSSCOMPILING are
defined at CPack time, why?
This is the reason my code in the patch is not in the WIN32 block above and
I
Hey Eric,
thanks for the quick reply!
On Tue, Mar 6, 2012 at 1:16 PM, Eric Noulard eric.noul...@gmail.com wrote:
While doing this I noticed neither WIN32 nor CMAKE_CROSSCOMPILING are
defined at CPack time, why?
May be because no one did really tackle the cross-packaging problem?
2012/3/6 Dominik Schmidt do...@tomahawk-player.org:
Hey Eric,
thanks for the quick reply!
You are welcome.
This is the reason my code in the patch is not in the WIN32 block above
and
I couldn't guess the gp_tool correctly.
In order to be sure that nothing else is breaking you can try
On 3/6/2012 2:23 AM, Yury G. Kudryashov wrote:
Hi!
I've just found that there are two doxygen configs in cmake source tree:
* cmake/doxygen.config
I think you can remove this one.
* cmake/Utilities/Doxygen/* VTK magic
The second one can be enabled by BUILD_DOCUMENTATION but doc_makeall.sh
On 3/6/2012 2:43 AM, Eric Noulard wrote:
Did you see this bug report:
http://public.kitware.com/Bug/view.php?id=13017
this may explain the sporadic failure on MacOS?
Now I see that there is already a retry loop,
[...]
// since we get random dashboard failures with this one
// try running it
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=13019
==
Reported By:Harald Winroth
Assigned To:
Brad King wrote:
On 3/6/2012 2:23 AM, Yury G. Kudryashov wrote:
Hi!
I've just found that there are two doxygen configs in cmake source tree:
* cmake/doxygen.config
I think you can remove this one.
* cmake/Utilities/Doxygen/* VTK magic
The second one can be enabled by
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=13020
==
Reported By:Petr Kmoch
Assigned To:
On 3/6/2012 10:10 AM, Yury G. Kudryashov wrote:
Did I understand correctly that I should remove the first one and work on
the second one?
Where can I find the scripts referenced by the second one? In VTK source
tree? Do we really need those scripts?
From doc_makeall.sh.in:
#
On Tue, Mar 06, 2012 at 11:44:46AM -0500, Bill Hoffman wrote:
What is the current status of ninja windows? I would like to setup a
dashboard for this, however, the ninja code for windows does not seem to
be on the stage for CMake right now. Is there a way to get it on the
stage? Or
On 3/6/2012 12:17 PM, Peter Collingbourne wrote:
The Ninja generator is disabled on Windows as it still doesn't yet
work correctly with Ninja's master branch. It works to some degree
with someone else's branch, but one of the required features on that
branch (response file support) was
On 3/6/2012 1:29 PM, Peter Collingbourne wrote:
We can certainly do that, but the ninja binary would need to be
switched as soon as we get around to using rspfile in Ninja (and
no sooner).
OK, so is there a ninja binary that I can download right now that will
work if I change the cmake
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=13022
==
Reported By:Droscy
Assigned To:
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=13023
==
Reported By:Christopher Sean Morrison
Assigned
On 03/06/2012 02:34 AM, Christopher Piekarski wrote:
Hello All,
I am trying to attach a custom POST_BUILD command to the ALL_BUILD target.
I've tried adding the following at the bottom of my root CMakeLists.txt
file but the Post Event never shows up in Visual Studio. I have been able
to get
Hi,
I'd like to suppress the console, but only in release builds. What's the
official way to do that?
add_executable(... win32 ...) doesn't work, because it switches off the console
in debug builds.
When I set LINKER_FLAGS_RELEASE to /subsystem:windows, I can suppress the console in the
On 03/06/2012 07:23 AM, Michael Hertling wrote:
On 03/05/2012 05:59 PM, Andrea Crotti wrote:
I'm having the following behaviour, and I can't quite understand the
error message:
..
Built target psi.utility_install
..
make[3]: *** No rule to make target `psi.utility_install', needed by
Hi Andreas,
as far as I know, your only chance to achieve this is by modifying your
source code by adding
#ifndef NDEBUG
#pragma comment(linker, /SUBSYSTEM:CONSOLE)
#endif
Using add_executable(... win32 ...) is correct because the pragma statement
will override the behaviour in debug mode (in
On 03/06/2012 12:21 PM, Andrea Crotti wrote:
On 03/06/2012 07:23 AM, Michael Hertling wrote:
On 03/05/2012 05:59 PM, Andrea Crotti wrote:
I'm having the following behaviour, and I can't quite understand the
error message:
..
Built target psi.utility_install
..
make[3]: *** No rule to make
On 03/06/2012 01:45 PM, Michael Hertling wrote:
Could you post the lines which define those targets psi.utility_install
and install_all_eggs, or is this quite tricky, too? Do these lines stem
from the same CMakeLists.txt? IIRC, the no rule to make... needed by
error occurs when there's
Hei hei,
we faced a build problem with transitive linking of separate projects
where I can't find the right solution on my own. I hope someone can give
me a hint. I prepared a test case with two libraries libfoo and libbar
and an application baz. libfoo is on his own, libbar calls a function
CMake 2.8.7-1 is now available on Cygwin mirrors.
Some of the notable changes in this release are:
- improved Eclipse support
- incremental improvements to the AUTOMOC feature added in the previous
release
- more cryptographic hash implementations (SHA1, SHA224, SHA256, SHA384,
SHA512)
-
On 3/3/2012 10:13 AM, marco atzeri wrote:
Bill,
a simple RFU (request for upload) at cygwin-apps
mailing list, with the link at your files
http://www.cmake.org/files/v2.8/cmake-2.8.7-1.tar.bz2
http://www.cmake.org/files/v2.8/cmake-2.8.7-1-src.tar.bz2
will allow a larger audience and the
On 03/06/2012 02:47 PM, Andrea Crotti wrote:
On 03/06/2012 01:45 PM, Michael Hertling wrote:
Could you post the lines which define those targets psi.utility_install
and install_all_eggs, or is this quite tricky, too? Do these lines stem
from the same CMakeLists.txt? IIRC, the no rule to
On 03/06/2012 02:07 PM, Andrea Crotti wrote:
I opened a thread some time ago about this, and I actually thought it
was a bug in the documentation, because then why everything works
otherwise?
This simple example which I produced
add_custom_target(a
${CMAKE_COMMAND} -E echo a
)
That is because I have a custom target like
ADD_CUSTOM_TARGET(testc ALL
COMMAND java ${PROJECT_BINARY_DIR}/test.java
DEPENDS ${PROJECT_BINARY_DIR}/test.java
)
I want to build test.java only if it has been changed.
Since custom targets are always out-of-date, I wanted to have the
command
2012/3/6 Dominik Schmidt do...@tomahawk-player.org:
On Tue, Mar 6, 2012 at 4:05 PM, Eric Noulard eric.noul...@gmail.com wrote:
So the next step would be to configure e.g. CPACK_CROSSPACKAGING and
CPACK_WIN32 in my project config file and try to make GetPrerequisites
work
with them?
On Tue, Mar 6, 2012 at 10:24 AM, Andrea Crotti
andrea.crott...@gmail.com wrote:
On 03/06/2012 02:07 PM, Andrea Crotti wrote:
I opened a thread some time ago about this, and I actually thought it
was a bug in the documentation, because then why everything works
otherwise?
This simple
On Tue, Mar 6, 2012 at 10:28 AM, Eric Noulard eric.noul...@gmail.com wrote:
2012/3/6 Dominik Schmidt do...@tomahawk-player.org:
On Tue, Mar 6, 2012 at 4:05 PM, Eric Noulard eric.noul...@gmail.com wrote:
So the next step would be to configure e.g. CPACK_CROSSPACKAGING and
CPACK_WIN32 in my
2012/2/15 David Cole david.c...@kitware.com:
2012/2/15 Nicolas Desprès nicolas.desp...@gmail.com
On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman bill.hoff...@kitware.com
wrote:
On 2/15/2012 11:04 AM, Peter Collingbourne wrote:
On Wed, Feb 15, 2012 at 10:45:04AM -0500, Bill Hoffman wrote:
That's the wrong way to go about things. Rather than putting the COMMAND
in the custom target, put it in a add_custom_command() call and make the
custom target DEPENDS on it. Then you let the build system handle the
dependencies. E.g. like this:
find_program(JAVAC_COMPILER javac PATH_SUFFIXES bin
On 03/06/2012 02:47 PM, Alexander Dahl wrote:
Hei hei,
we faced a build problem with transitive linking of separate projects
where I can't find the right solution on my own. I hope someone can give
me a hint. I prepared a test case with two libraries libfoo and libbar
and an application
2012/3/6 David Cole david.c...@kitware.com:
Just an FYI from the original author of GetPrerequisites here:
cross-packaging was not even considered as we developed it. If it
works at all, it's by happy accident.
I always envisioned packaging as occurring on a host == target platform.
Thus my
2012/3/6 David Cole david.c...@kitware.com:
2012/2/15 David Cole david.c...@kitware.com:
2012/2/15 Nicolas Desprès nicolas.desp...@gmail.com
On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman bill.hoff...@kitware.com
wrote:
On 2/15/2012 11:04 AM, Peter Collingbourne wrote:
On Wed, Feb 15,
Hi
On Tue, Mar 6, 2012 at 4:28 PM, Eric Noulard eric.noul...@gmail.com wrote:
This is the interesting part.
This installation part is launched by CPack before packaging.
So I misunderstood, one of your previous answer
In order to be sure that nothing else is breaking you can try to
On 03/06/2012 03:29 PM, David Cole wrote:
On Tue, Mar 6, 2012 at 10:24 AM, Andrea Crotti
The explanation is simple: if you have two targets and they run in
*random* order, then it will be correct 50% of the time... Or
perhaps 100% on one platform and 0% on another. That's likely what you
were
On 3/6/2012 10:52 AM, Nicolas Desprès wrote:
+1 for publishing I think it will boost up the development, bringing
more people to work on it.
It would be nice to fix the stuff that we know about, as people will of
course start reporting bugs as soon as they find them. I guess as long
as we
On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote:
2 things I'd like to see before we merge:
(1) test failures corrected on the Mac Nightly Expected dashboards
submitting using the ninja generator
(2) reliable dashboard submissions (even if not all tests pass) from a
Windows
Switching the Jenkins node services to run under the correct build service AD
domain account fixed the problem...I think. I did the switch to fix some other
unrelated problem, then went back to address this one, and found that it had
fixed itself.
Before fixing itself, the Jenkins node
I actually need to check the compiler version for ABI compatibility
reasons. I download my third party libraries via CMake script and I check
the current compiler version so I know which DLLs to download :P
Unfortunately C++ name mangling is not standardized so this is necessary.
Also it is
Never mind, I manually installed 2.8.6. I uninstalled 2.8.6 and all is well.
-Original Message-
From: Keith Gardner
Sent: Tuesday, March 06, 2012 11:43 AM
To: 'Bill Hoffman'; cygwin-annou...@cygwin.com; cm...@public.kitware.com
Subject: RE: [CMake] Updated: CMake 2.8.7-1
I just did an
I just did an update of CMake on Cygwin and found a weird inconstancy. the
Cygwin installer calls the version 2.8.7-1 but if you run cmake -version you
get 2.8.6. Which is correct?
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
Bill
Could you list the mirror URLs for me that were updated? I'm trying a few
that are listed in the setup.exe for cygwin but I'm not seeing the new
version. Still shows 2.8.4 for the mirrors I tried.
-
Robert Dailey
On Tue, Mar 6, 2012 at 7:53 AM, Bill Hoffman
On 06.03.12 17:10:41, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote:
2 things I'd like to see before we merge:
(1) test failures corrected on the Mac Nightly Expected dashboards
submitting using the ninja generator
(2) reliable dashboard
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test.class
COMMAND ${JAVAC_COMPILER} -d ${PROJECT_BINARY_DIR}
${PROJECT_BINARY_DIR}/test.java
DEPENDS ${PROJECT_BINARY_DIR}/test.java
COMMENT Compiling test.java
VERBATIM)
add_custom_target(compile-test-java
DEPENDS
On Monday 05 March 2012, Stephen Kelly wrote:
Rolf Eike Beer wrote:
Michael Hertling wrote:
My main conclusion from the above-noted mess among CMake's current
component-aware find modules is that we urgently need a convention
how such modules and config files are intended to work.
On Tue, Mar 06, 2012 at 07:09:03PM +0100, Andreas Pakulat wrote:
On 06.03.12 17:10:41, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote:
2 things I'd like to see before we merge:
(1) test failures corrected on the Mac Nightly Expected dashboards
On 3/6/2012 1:47 PM, Peter Collingbourne wrote:
Obviously things won't work perfectly (if at all) for things like GUI
applications or bundles. But there are a number of command line tools
(such as LLVM/Clang) which do not use any of the OS X packaging stuff.
I myself have used the generator to
On 06.03.12 18:47:05, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 07:09:03PM +0100, Andreas Pakulat wrote:
On 06.03.12 17:10:41, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote:
2 things I'd like to see before we merge:
(1) test
On Tue, Mar 6, 2012 at 1:22 PM, Ajay Panyala a...@csc.lsu.edu wrote:
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test.class
COMMAND ${JAVAC_COMPILER} -d ${PROJECT_BINARY_DIR}
${PROJECT_BINARY_DIR}/test.java
DEPENDS ${PROJECT_BINARY_DIR}/test.java
COMMENT Compiling test.java
On Mar 6, 2012, at 2:41 PM, Andreas Pakulat wrote:
On 06.03.12 18:47:05, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 07:09:03PM +0100, Andreas Pakulat wrote:
On 06.03.12 17:10:41, Peter Collingbourne wrote:
On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote:
2 things I'd like
Hi,
I have a problem with cmake not to compile but to link my .exe.
I use SDL, OpenGL, FMOD, LibXml2 and a personal library. But when I try to
compile my program LibXml2 and SDLmain are not include into the command line
to link my .exe.
Enclosed my CMakeList.txt and CMakeCache.txt and
On 3/6/2012 12:53 PM, Robert Dailey wrote:
Could you list the mirror URLs for me that were updated? I'm trying a
few that are listed in the setup.exe for cygwin but I'm not seeing the
new version. Still shows 2.8.4 for the mirrors I tried.
Give it some time. I have no control over the mirrors
2012/3/6 julien@redaction-developpez.com:
Hi,
I have a problem with cmake not to compile but to link my .exe.
I use SDL, OpenGL, FMOD, LibXml2 and a personal library. But when I try to
compile my program LibXml2 and SDLmain are not include into the command line
to link my .exe.
Hello Julien,
Am Dienstag, 6. März 2012 um 20:58:43 schrieb julien.plu@redaction-
developpez.com:
Why ? I do something wrong in my CMakeList.txt ?
You should use LIBXML2_LIBRARIES [1].
Kind regards
Benjamin
[1]http://cmake.org/cmake/help/cmake-2-8-docs.html#module:FindLibXml2
--
Powered by
Thanks, for libXml2 it was indeed LIBXML2_LIBRARIES instead of
LIBXML2_LIBRARY. And for SDLmain it was an error in one on my change on
findSDL.cmake file because I have replaced $ENV{SDLDIR} by another
environment variable.
Thanks again at all of you :-)
Cheers.
math(EXPR) rejects expressions with negative numbers. This is awful
because math() can reject its own negative results. For example, this
code fails:
math(EXPR negative 1 - 2)
math(EXPR sum 100 + ${negative})
The second expression, 100 + -1, causes an error.
This contradicts cmake
In a number of places in our build, we use compiled binaries via
add_custom_command and friends to perform work during the compilation. For
the most part we are able to successfully specify the target name used with
add_executable in place of a full path to successfully tell CMake to run
the
If you want add_custom_command to run a certain executable, simply
give it the full path to that executable: use /full/path/to/tool
instead of tool
If tool is a built thing, you can use
${XYZ_BINARY_DIR}/${CMAKE_CFG_INTDIR}/tool which will properly
expand out to the correct Release or Debug
On 06.03.12 17:56:41, David Cole wrote:
If you want add_custom_command to run a certain executable, simply
give it the full path to that executable: use /full/path/to/tool
instead of tool
If tool is a built thing, you can use
${XYZ_BINARY_DIR}/${CMAKE_CFG_INTDIR}/tool which will properly
On Tue, Mar 6, 2012 at 6:27 PM, Andreas Pakulat ap...@gmx.de wrote:
On 06.03.12 17:56:41, David Cole wrote:
If you want add_custom_command to run a certain executable, simply
give it the full path to that executable: use /full/path/to/tool
instead of tool
If tool is a built thing, you can
We use the same configuration tests on all platforms in an effort to avoid
having large chunks of platform-specific code in our build files, but we
pay a price for this on Windows - the same test process is more than an
order of magnitude slower with MSVC than (say) Linux.
Does CMake launch the
On 3/6/2012 9:09 PM, Clifford Yapp wrote:
We use the same configuration tests on all platforms in an effort to
avoid having large chunks of platform-specific code in our build files,
but we pay a price for this on Windows - the same test process is more
than an order of magnitude slower with
I've read this link
http://www.cmake.org/Wiki/CMake:How_To_Build_Qt4_Software and I type code
below
set(${PROJECT_NAME}_HDRS
mainwindow.h
item.h
)
set(${PROJECT_NAME}_SRCS
main.cpp
mainwindow.cpp
item.cpp
)
SET(UPDATE_TRANSLATIONS TRUE)
SET(GLOB TRANSLATION_FILES FILES translations/*.ts)
On Tue, Mar 6, 2012 at 8:58 PM, Clifford Yapp cliffy...@gmail.com wrote:
We *could*, if popular demand is high enough, merge it in anyway and
call it experimental to start with, or we could get it right all
the
way before we merge to 'master' and put it out in an official CMake
release.
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 bc661082500d1b66e06b621ce2c565f3fa1e8361 (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, master has been updated
via 480ba6434399052553b31c97e399b44a1491aac9 (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, master has been updated
via 155e6443657800eeb9e4dd20aa00a21b4610148e (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, master has been updated
via ef6613718ee899d14f9021387742084b1ee33098 (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, master has been updated
via f2e98ed420d9b99ed0bae8d683a99dcc89451e4f (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, master has been updated
via 7fbd323f8056ce6deda71a88d07f8f2a3ca98e76 (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, master has been updated
via 663832eb44b11e0e39f387aedf35ceeafe6360d8 (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, master has been updated
via e872b0d2b8af28297ce4d3dfb9f751003e50e65c (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, master has been updated
via 50f9db9b00dedd53789ae446475fef790e2534df (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 1cee05a76dbf24262cf3bd883d68eb9bb28e25a5 (commit)
via
75 matches
Mail list logo