I have split my code up into two dirs, source and tests. The
CMakeLists.txt in the source dir does a SUBDIRS to
${PROJECT_SOURCE_DIR}/../tests to get tests.
In each CMakeLists file right after I have defined the target via
ADD_LIBRARY or ADD_EXECUTABLE and set TARGET_LINK_LIBRARIES I have
done
The problem I'm trying to solve is to have -Werror for the whole
project except a few files which include system headers that give
warnings we can't workaround (even with -isystem).
So I'm trying to get cmake to replace some flags for a specific file,
and I ran into the problem that the variable
Hi Michael,
I tried to adapt the files you gave me to my project. It almost works.
As a reminder, there were a CMakeLists.txt with an overloaded
add_executable function that created a sym_link for the rc files and a
shell file (rc.sh) used to suit the rc compiler call to my needs.
I found
On 10/25/2011 09:51 AM, Campbell Barton wrote:
The problem I'm trying to solve is to have -Werror for the whole
project except a few files which include system headers that give
warnings we can't workaround (even with -isystem).
So I'm trying to get cmake to replace some flags for a specific
Ok, sorry for the duplication, it was also discussed in:
http://www.cmake.org/pipermail/cmake/2011-March/043467.html
I changed everything from SUBDIRS to add_subdirectory and it worked.
For my tests dir, I specified a second build dir, and everything then
installed from those dirs.
Matt
On Tue,
2011/10/25 Phil Smith p...@voltage.com:
Ah, ok. With 2.8.1:
C:/Program Files/Regina/regina.exe cc.rex dcc.exe CMakeCCompilerId.c
With 2.8.6:
C:/Program Files/Regina/regina.exe cc.rex;dcc.exe CMakeCCompilerId.c
Note the semicolon; where'd it come from?
This is clearly a change of
I have split my code up into two dirs, source and tests. The
CMakeLists.txt in the source dir does a SUBDIRS to
${PROJECT_SOURCE_DIR}/../tests to get tests.
Reading the documentation may help:
subdirs
Deprecated. Use the add_subdirectory() command instead.
HTH,
Eike
--
Powered by
Sorry for previous unfinished e-mail.
2011/10/25 Phil Smith p...@voltage.com:
Ah, ok. With 2.8.1:
C:/Program Files/Regina/regina.exe cc.rex dcc.exe CMakeCCompilerId.c
With 2.8.6:
C:/Program Files/Regina/regina.exe cc.rex;dcc.exe CMakeCCompilerId.c
Note the semicolon; where'd it come
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
thanks,
J
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
2011/10/25 Daniel Dekkers d.dekk...@cthrough.nl:
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
Did you try
IF( ${test} STREQUAL ) ?
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
if (${test} STREQUAL )
if (NOT test)
What does not work (in 2.8.5) but should work according to the documentation:
if (test STREQUAL )
Eike
--
Powered by
Great, thanks.
On Oct 25, 2011, at 11:17 AM, Eric Noulard wrote:
2011/10/25 Daniel Dekkers d.dekk...@cthrough.nl:
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
Did you try
IF( ${test} STREQUAL ) ?
Hello!
I am using the linux distribution gentoo.
After I tried to reinstall my qtcreator package and recreate my Qt
project by qtcreator I run in an empty project tree.
To make it more understandable:
I removed all qtcreator related files and load the CMakeLists.txt file
with qtcreator.
qtcreator
On Tue, Oct 25, 2011 at 6:31 AM, Rolf Eike Beer e...@sf-mail.de wrote:
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
if (${test} STREQUAL )
if (NOT test)
What does not work (in 2.8.5) but should
On Tue, Oct 25, 2011 at 6:31 AM, Rolf Eike Beer e...@sf-mail.de wrote:
hi there,
how do I test if a string is empty () or not ?
IF( ${test} STREQUAL )
gives the wrong number of arguments if ${test} is
if (${test} STREQUAL )
if (NOT test)
What does not work (in 2.8.5) but should
On 10/25/2011 5:00 AM, Eric Noulard wrote:
2011/10/25 Phil Smithp...@voltage.com:
# Specify the cross-compilers
SET(CMAKE_C_COMPILER regina.exe cc.rex dcc.exe)
SET(CMAKE_CXX_COMPILER regina.exe cc.rex dcxx.exe)
I think CMAKE_[C|CXX]_COMPILER vars are supposed to contain
a command not
Hello!
I am learning to use CMake and I found it very easy to use, very and very
good. But I don't understand why it uses full paths instead of relative
paths when linking shared/dynamic libraries. I am currently making a program
that is only compiled to a folder, but not installed to the system
Bumping this in hopes for some help!
-
Robert Dailey
On Fri, Oct 21, 2011 at 3:11 PM, Robert Dailey rcdai...@gmail.com wrote:
I did some searching and on stackoverflow I found a post that had code in
it to provide precompiled header support:
Bumping this too since I'd like an answer! :P
-
Robert Dailey
On Fri, Oct 21, 2011 at 3:08 PM, Robert Dailey rcdai...@gmail.com wrote:
I have a folder with a bunch of cmake modules in it that contain my custom
CMake code used across all projects.
I only generate for visual studio,
OK, but it should then reject the extra parameters, since it used to work.
In any case, I've changed the toolchain file:
# This is a CMake Toolchain file, required for cross-compiling using
# the Dignus cross-compilers on Windows, compiling for z/OS.
#
On Fri, Oct 21, 2011 at 4:08 PM, Robert Dailey rcdai...@gmail.com wrote:
I have a folder with a bunch of cmake modules in it that contain my custom
CMake code used across all projects.
I only generate for visual studio, so I was thinking it would be useful to
have a dummy project in my
On Tue, Oct 25, 2011 at 11:43 AM, Robert Dailey rcdai...@gmail.com wrote:
Bumping this in hopes for some help!
Your version is different than the stackoverflow example
Line
SET(Sources ${${SourcesVar}})
should be
SET(Sources ${${source}})
since you renamed the SourcesVar parameter.
John
On Tue, Oct 25, 2011 at 12:01 PM, John Drescher dresche...@gmail.com wrote:
On Tue, Oct 25, 2011 at 11:43 AM, Robert Dailey rcdai...@gmail.com wrote:
Bumping this in hopes for some help!
Your version is different than the stackoverflow example
Line
SET(Sources ${${SourcesVar}})
should
Hi,
I want to link a .so file with a executable.
how do I do that?
Regards
David
--
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:
On Tuesday 25 October 2011, Markus Rathgeb wrote:
Hello!
I am using the linux distribution gentoo.
After I tried to reinstall my qtcreator package and recreate my Qt
project by qtcreator I run in an empty project tree.
To make it more understandable:
I removed all qtcreator related files
On Tuesday 25 October 2011, Renato Utsch wrote:
Hello!
I am learning to use CMake and I found it very easy to use, very and very
good. But I don't understand why it uses full paths instead of relative
paths when linking shared/dynamic libraries. I am currently making a
program that is only
On Tuesday 25 October 2011, Alexander Neundorf wrote:
...
If you want to create a zip file, you should use make package to do that.
During that step also make install will be executed.
In that step the install RPATH will be patched into the ELF files.
By default this will be empty (so the libs
On Tuesday 25 October 2011, David Boesner wrote:
Hi,
I want to link a .so file with a executable.
how do I do that?
Use target_link_libraries().
And maybe find_library() before, depending on where that library comes from.
Giving some more information and also using a suitable subject would
On Tue, Oct 25, 2011 at 10:50 AM, David Cole david.c...@kitware.com wrote:
On Fri, Oct 21, 2011 at 4:08 PM, Robert Dailey rcdai...@gmail.com wrote:
I have a folder with a bunch of cmake modules in it that contain my custom
CMake code used across all projects.
I only generate for visual
2011/10/25 Phil Smith p...@voltage.com:
OK, but it should then reject the extra parameters, since it used to work.
Difficult to warn about a usage you did not even dream of ?
Now that we know I agree there should be a warning
(if not a clean failure with explanation).
In any case, I've
I apologize, the code I had pasted was completely broken. I had meant to fix
a couple of those issues before I posted it since I made my own
customizations to it. While my real copy had the variables renamed correctly
in all places, I made a stupid mistake and included the StdAfx.cpp file in
my
I did
include(ExternalProject)
ExternalProject_Add(
CeltTarget
SOURCE_DIR ${CMAKE_SOURCE_DIR}/celt
INSTALL_DIR ${CMAKE_BINARY_DIR}/prefix
CONFIGURE_COMMAND ${CMAKE_SOURCE_DIR}/celt/configure -C
--prefix=${CMAKE_BINARY_DIR}/prefix --disable-shared --with-pic
CFLAGS=-g -O2 -fPIC
)
On Tue, Oct 25, 2011 at 10:05 AM, Dan Kegel d...@kegel.com wrote:
CONFIGURE_COMMAND ${CMAKE_SOURCE_DIR}/celt/configure -C
--prefix=${CMAKE_BINARY_DIR}/prefix --disable-shared --with-pic CFLAGS=-g
-O2 -fPIC
Turns out the workaround is
CONFIGURE_COMMAND
Hi all,
I'm cross compiling an app under Fedora. I get this linking errors while
building with cmake :
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lxerces-c
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lportablexdr
On Tue, Oct 25, 2011 at 1:09 PM, Dan Kegel d...@kegel.com wrote:
On Tue, Oct 25, 2011 at 10:05 AM, Dan Kegel d...@kegel.com wrote:
CONFIGURE_COMMAND ${CMAKE_SOURCE_DIR}/celt/configure -C
--prefix=${CMAKE_BINARY_DIR}/prefix --disable-shared --with-pic CFLAGS=-g
-O2 -fPIC
Turns out the
Replying inline is getting unwieldy, so I've excerpted what I'm replying to
here.
Do you have a platform file for IBM_ZOS as well?
Yes, there's a platform file, IBM_ZOS.cmake:
INCLUDE(Platform/UnixPaths)
(exciting, huh?)
what is the compiler ID found?
-- The C compiler identification is
On Tue, Oct 25, 2011 at 10:15 AM, Jose jc.fernandez.nava...@gmail.com wrote:
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lsqlite3
The way I usually track down things like this is to find the broken commandline
(e.g. make VERBOSE=1), put it in a shell
Is your project's source publicly available? And are these compilers freely
available, too?
It may be easier for us to help with a more complete picture of what's going
on...
On Tue, Oct 25, 2011 at 1:32 PM, Phil Smith p...@voltage.com wrote:
Replying inline is getting unwieldy, so I've
No, alas. Code is proprietary and the compiler is licensed too.
From: David Cole [mailto:david.c...@kitware.com]
Sent: Tuesday, October 25, 2011 1:41 PM
To: Phil Smith
Cc: Eric Noulard; Brad King; cmake@cmake.org; Bill Hoffman; Janet Graff
Subject: Re: [CMake] CMake still broken post-2.8.1
Is
On Tuesday 25 October 2011, Phil Smith wrote:
No, alas. Code is proprietary and the compiler is licensed too.
I think Phil asked here on the list like one year ago or so.
So, there are some things to be found in the archive.
Was this EBDIC stuff ?
Alex
--
Powered by www.kitware.com
Visit
On 25.10.11 13:15:37, Jose wrote:
Hi all,
I'm cross compiling an app under Fedora. I get this linking errors while
building with cmake :
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lxerces-c
I noticed that when I install CMake 2.8 updates, I get duplicate entries in
Programs and Features in windows 7 (the Add/Remove programs area).
This seems like a bug. I searched the bug database but didn't find anything
on this.
Can anyone confirm?
-
Robert Dailey
--
Powered by
Yes, it's partly EBCDIC, but I don't think that's actually an issue here. The
compiler allows compiling both in ASCII (so constants are ASCII) and native
(EBCDIC); we do some of both.
Good memory, btw!
-Original Message-
From: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net]
Sent:
Hello all,
I'm trying to build Boost as an external project, but it won't build
if I use the VS2010 generator. I've whittled the code down to the
following CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
project (boost-external)
set (Boost_Source E:/boost_1_47_0)
include(ExternalProject)
Thanks for that, from reading the docs now this is more clear but for
some reason I had the impression the flags on a file could be
manipulated.
# ---
# Heres the macro I came up with to disable certain warnings for a
given set of files...
macro(remove_strict_flags_file
filenames)
On 10/25/2011 2:46 PM, Thomas Sondergaard wrote:
The VS2010 bug!
http://public.kitware.com/Bug/view.php?id=11258
Would love to fix that if we knew how :(
-Bill
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
On 10/25/2011 2:46 PM, Thomas Sondergaard wrote:
On 2011-10-21 20:20, David Cole wrote:
As an esteemed colleague has pointed out, those with reporter level
account in Mantis may not edit bugs other than their own directly.
So. if you are in that boat, but would like to vote for a bug fix
to
Try changing the configure command to call bootstrap.bat instead.
I suspect this is related to the symptoms reported in these bugs:
http://public.kitware.com/Bug/view.php?id=12445
http://public.kitware.com/Bug/view.php?id=12461
Related to using bat or cmd files as custom commands. We need
On Tue, Oct 25, 2011 at 8:58 PM, Campbell Barton ideasma...@gmail.comwrote:
Thanks for that, from reading the docs now this is more clear but for
some reason I had the impression the flags on a file could be
manipulated.
# ---
# Heres the macro I came up with to disable certain warnings for
Hello,
I am encountering specific problems and hope someone can help me.
I'm working on a patch to export target information from install tree for
OCE https://github.com/tpaviot/oce project. The OCE project use CMake to
manage the build process. For some reasons, OCE project install targets into
On 10/26/2011 03:56 AM, David Cole wrote:
On Tue, Oct 25, 2011 at 8:58 PM, Campbell Barton ideasma...@gmail.com
mailto:ideasma...@gmail.com wrote:
Thanks for that, from reading the docs now this is more clear but for
some reason I had the impression the flags on a file could be
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=12538
==
Reported By:Bernhard Walle
Assigned To:
Brad King wrote:
On 10/19/2011 11:14 AM, Stephen Kelly wrote:
On 10/19/2011 6:04 AM, Stephen Kelly wrote:
I saw that the weekly merge of branches into master happened yesterday,
but the cmake-link-interface-libraries branch didn't make the cut.
[snip]
Not a major rush anyway. I'm still
On 10/25/2011 06:09 AM, Stephen Kelly wrote:
I've just merged the target-link-libraries-interfaces branch into next, so I
can maybe add tests for that feature whenever the test-target_link_libraries
is more ready.
Sounds good.
What work needs to be done for test-target_link_libraries to
On 2011-10-21 20:20, David Cole wrote:
As an esteemed colleague has pointed out, those with reporter level
account in Mantis may not edit bugs other than their own directly.
So. if you are in that boat, but would like to vote for a bug fix
to be considered for 2.8.7, please reply to this
Brad King wrote:
What does CMake think about rebasing? I much prefer to squash a branch
like test-target_link_libraries into fewer commits so that eg adding
newlines and changing tests to examine dashboard changes are not separate
commits. I don't think those commits add value, but only
On Tuesday 25 October 2011, Stephen Kelly wrote:
...
I think I read somewhere that next gets re-branched from master
periodically. How often does that happen?
Usually every Tuesday.
Alex
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
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 039d1b1fd9edad20f139aad8df7ebe0f612ef65f (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 61b49402d789f5465a7cdc08e708d4448f3496c3 (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 4701843974ef7404212f9a057cba4961076b07c8 (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 7b555c0295222be2cd70dd60b5c1b52a890f668c (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 a17709974f371b43d7102f005d8243166060e356 (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 3ad0dfff40aefe84216190fefb66d9e7b0374343 (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 fdd49dad034e99e44a3bd3ab35aa714704af27ff (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 f63f71ca82216825eeea9127e683f5e211a93b18 (commit)
via
65 matches
Mail list logo