On Tue, Mar 6, 2012 at 8:58 PM, Clifford Yapp 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
>
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)
SET(FILES
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 MSVC
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 MS
On Tue, Mar 6, 2012 at 6:27 PM, Andreas Pakulat 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
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
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 "Deb
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 local
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 --h
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.
-
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 w
2012/3/6 :
> 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 CMakeLis
Yes, the CMAKE_CURRENT_BINARY_DIR is the same as PROJECT_BINARY_DIR.
It works for me now. The depends file (test.java) is actually copied over
to the build directory
before compiling it (the copy command was not shown in the previous email).
I changed
DEPENDS ${PROJECT_BINARY_DIR}/test.java
to
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 g
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 h
>
> > 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.
>
What would be involved with fixing the rema
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 t
On Tue, Mar 6, 2012 at 1:22 PM, Ajay Panyala 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"
> VERBATIM)
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:
> > > >
> > >
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 b
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 da
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 wo
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 ${PROJECT_BINARY
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 dashboar
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 wrote:
> CMake 2.8.7-1 is no
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 Ho
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 up
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 quite
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 services
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 m
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 no
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
Hi
On Tue, Mar 6, 2012 at 4:28 PM, Eric Noulard 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
>>>[manually] add t
2012/3/6 David Cole :
> 2012/2/15 David Cole :
>> 2012/2/15 Nicolas Desprès
>>>
>>>
>>>
>>> On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman
>>> wrote:
On 2/15/2012 11:04 AM, Peter Collingbourne wrote:
>
> On Wed, Feb 15, 2012 at 10:45:04AM -0500, Bill Hoffman wrote:
2012/3/6 David Cole :
>
> 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 initial remark
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 applicati
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
2012/2/15 David Cole :
> 2012/2/15 Nicolas Desprès
>>
>>
>>
>> On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman
>> wrote:
>>>
>>> On 2/15/2012 11:04 AM, Peter Collingbourne wrote:
On Wed, Feb 15, 2012 at 10:45:04AM -0500, Bill Hoffman wrote:
>>>
>>>
I note that Kitware has machines se
On Tue, Mar 6, 2012 at 10:28 AM, Eric Noulard wrote:
> 2012/3/6 Dominik Schmidt :
>> On Tue, Mar 6, 2012 at 4:05 PM, Eric Noulard 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
>>> > w
On Tue, Mar 6, 2012 at 10:24 AM, Andrea Crotti
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 example which
2012/3/6 Dominik Schmidt :
> On Tue, Mar 6, 2012 at 4:05 PM, Eric Noulard 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?
>>
>> That's not what I was thinking abo
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 insi
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"
)
add_cu
On 03/06/2012 02:01 PM, Michael Hertling wrote:
Yes, the DEPENDS clause of ADD_CUSTOM_TARGET() is only for *file*
dependencies, but you use it for *target* dependencies. According
to the documentation of ADD_CUSTOM_TARGET():
"Dependencies listed with the DEPENDS argument may reference files
and
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
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 correc
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)
- fil
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
from
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 somethi
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[
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 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
`CMakeFile
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 rel
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
> t
On 03/06/2012 12:36 AM, Oliver kfsone Smith wrote:
> I have test and package configurations on my project, I want:
>
> cmake .
> make package
>
> to run force injection of the "test" target prior to building the
> package target.
>
> Can it be done? How? :)
By filing a solution to [1
55 matches
Mail list logo