On 07/03/2010 01:03 AM, Chris Hillery wrote:
There's a slightly nicer work-around: Change project A's CMakeLists to set
PROJB_OPENCV_LINK as a cache variable, ie, SET(PROJB_OPENCV_LINK NO CACHE
BOOLEAN doc). I've tested it locally and it works the way you want it to.
It seems that CMake
On Wed, Jul 7, 2010 at 12:32 AM, Michael Hertling mhertl...@online.dewrote:
IMO, things aren't sooo bad. ;-)
[100 lines of explanation of how SET() behaves in 6 different ways elided]
I think you've just proven my point. Thanks! :)
Ceej
aka Chris Hillery
On 7. Jul, 2010, at 9:32 , Michael Hertling wrote:
On 07/03/2010 01:03 AM, Chris Hillery wrote:
There's a slightly nicer work-around: Change project A's CMakeLists to set
PROJB_OPENCV_LINK as a cache variable, ie, SET(PROJB_OPENCV_LINK NO CACHE
BOOLEAN doc). I've tested it locally and it
On 07/07/2010 09:40 AM, Chris Hillery wrote:
On Wed, Jul 7, 2010 at 12:32 AM, Michael Hertling mhertl...@online.dewrote:
IMO, things aren't sooo bad. ;-)
[100 lines of explanation of how SET() behaves in 6 different ways elided]
I think you've just proven my point. Thanks! :)
Hi there,
I am wondering if I am missing anything here. How would one
propagate a variable across subdirectories in cmake ? I thought that a
simple CACHE variable would do the trick, but using cmake 2.8.1 I had
to do the following trick
list(APPEND v 42)
# make sure to actually update the
Den 07-07-2010 12:34, Mathieu Malaterre skrev:
Hi there,
I am wondering if I am missing anything here. How would one
propagate a variable across subdirectories in cmake ? I thought that a
simple CACHE variable would do the trick, but using cmake 2.8.1 I had
to do the following trick
Hi all,
Today I stumbled upon the following problem.
On a somewhat older machine we have cmake 2.6-patch 0 installed.
Up till now I had done my development on a machine running cmake
2.6-patch 2, and everything was working fine, also with newer versions
of cmake (2.6-patch 4, 2.8.1, etc).
With
On Wed, Jul 7, 2010 at 1:07 PM, Bo Thorsen b...@askmonty.org wrote:
Den 07-07-2010 12:34, Mathieu Malaterre skrev:
Hi there,
I am wondering if I am missing anything here. How would one
propagate a variable across subdirectories in cmake ? I thought that a
simple CACHE variable would do
On 7. Jul, 2010, at 14:45 , Mathieu Malaterre wrote:
On Wed, Jul 7, 2010 at 1:07 PM, Bo Thorsen b...@askmonty.org wrote:
Den 07-07-2010 12:34, Mathieu Malaterre skrev:
Hi there,
I am wondering if I am missing anything here. How would one
propagate a variable across subdirectories in
On 7. Jul, 2010, at 15:39 , Diablo 666 wrote:
Hi again,
I tried using the CMAKE_DEBUG_POSTFIX to add a D to all library names on
Windows only. On Linux, they should not have a closing D. To this point,
everything is fine.
But how can I link against these libraries? To keep things
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory called utils, which also has its
own CMakeLists.txt
In the parent CML.txt, I have something like:
ENABLE_TESTING()
add_subdirectory(utils)
In my utils CML.txt, I have
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory called utils, which also has its
own CMakeLists.txt
In the parent CML.txt, I have something like:
ENABLE_TESTING()
On Friday 02 Jul 2010 12:36:17 am Kishore wrote:
On Friday 02 Jul 2010 12:07:07 am Alexander Neundorf wrote:
On Thursday 01 July 2010, Kishore wrote:
It seems that the PROJECT() command does a fair bit behind the scenes
and is not documented enough. It seems to reset several variable
Hello everybody,
we're currently thinking about setting up a symbol server for our
project, and cannot find out how to install the pdb file together with
the install command (or in another way).
Did somebody do this already? Is there only the way to fetch the pdb
files by hand?
regards,
Hi,
Apparently it had to do with the setting for ncargs. Increasing it to 256
(blocks of 4K) solved it.
Regards,
Arjen
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Verweij, Arjen
Sent: dinsdag 6 juli 2010 18:55
To: cmake@cmake.org
On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote:
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory called utils, which also
has its
own CMakeLists.txt
In the
Am Wednesday 07 July 2010 schrieb Patrick Spendrin:
Hello everybody,
we're currently thinking about setting up a symbol server for our
project, and cannot find out how to install the pdb file together with
the install command (or in another way).
Did somebody do this already? Is there
On 7/7/2010 7:45 AM, Marcel Loose wrote:
My pragmatic question is: is there a different way to check whether a
target has already been defined, or not.
Try this:
get_target_property(mytarget_exists mytarget TYPE)
if(mytarget_exists)
message(YES)
else()
message(NO)
endif()
The
I would like to generate file that looks something like this:
// version.h
#define VERSION v0.1-345-ga77ede8
where the version string is the result of running git describe --tags
--dirty. How can I auto-generate this file, include it in my project,
and have it regenerate as a pre-build
On 7 July 2010 23:05, Michael Wild them...@gmail.com wrote:
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory called utils, which also has
its
own CMakeLists.txt
In
On Wed, Jul 7, 2010 at 9:44 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
I would like to generate file that looks something like this:
// version.h
#define VERSION v0.1-345-ga77ede8
where the version string is the result of running git describe --tags
--dirty. How can I auto-generate
Couple things wrong with this:
1) I'm using git
2) If it outputs to the build directory, how do I refer to it?
On 07/07/10 22:43, John Drescher wrote:
On Wed, Jul 7, 2010 at 9:44 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
I would like to generate file that looks something like this:
1) I'm using git
I know. You have some work to do..
On top of the minor differences in what you want the FindGIt.cmake
does not have that option to return the version so you need to adapt
it to get the git version similar to the way the FindSubversion.cmake
module does for subversion
Is there any way I can use the output from a command-line program (in
this case, git describe --dirty) instead of using FindGit?
On 07/07/10 22:58, John Drescher wrote:
1) I'm using git
I know. You have some work to do..
On top of the minor differences in what you want the FindGIt.cmake
On Wed, Jul 7, 2010 at 10:59 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
Is there any way I can use the output from a command-line program (in
this case, git describe --dirty) instead of using FindGit?
I believe
add_custom_command
but I can not help with an example of that.
John
On Wed, Jul 7, 2010 at 11:04 PM, John Drescher dresche...@gmail.com wrote:
On Wed, Jul 7, 2010 at 10:59 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
Is there any way I can use the output from a command-line program (in
this case, git describe --dirty) instead of using FindGit?
I believe
On 7 July 2010 23:38, Marcel Loose lo...@astron.nl wrote:
On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote:
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory
Thank you! That's perfect. I just KNEW there would be a command to do that!
On 07/07/10 23:10, John Drescher wrote:
On Wed, Jul 7, 2010 at 11:04 PM, John Drescher dresche...@gmail.com wrote:
On Wed, Jul 7, 2010 at 10:59 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
Is there any way I
Okay, I've almost got it. How do I make configure_file generate
something like...
source:
#cmakedefine VERSION
result:
#define VERSION v0.1-abcdef
where v0.1-abcdef is the contents of the variable PROJECT_VERSION in
my CMakeLists.txt
On 07/07/10 23:10, John Drescher wrote:
On Wed, Jul 7, 2010
On Wed, Jul 7, 2010 at 11:43 PM, Clark Gaebel cg.wowus...@gmail.com wrote:
Okay, I've almost got it. How do I make configure_file generate
something like...
source:
#cmakedefine VERSION
Some thing like
Version.h.in
#define VERSION @PROJECT_VERSION@
Try to look at my first example for
Nice. that works. I'm so sorry to be such a bother, but here's my output
now...
#define PROJECT_VERSION v0.1-345-ga77ede8-dirty
Needless to say, that's bad :(
How would I go about removing that trailing newline?
On 07/07/10 23:49, John Drescher wrote:
On Wed, Jul 7, 2010 at 11:43 PM, Clark
Nice. that works. I'm so sorry to be such a bother, but here's my output
now...
#define PROJECT_VERSION v0.1-345-ga77ede8-dirty
Needless to say, that's bad :(
How would I go about removing that trailing newline?
STRING(REGEX REPLACE
on the PROJECT_VERSION in your CMakeLists.txt
there
On Wed, Jul 7, 2010 at 11:58 PM, John Drescher dresche...@gmail.com wrote:
Nice. that works. I'm so sorry to be such a bother, but here's my output
now...
#define PROJECT_VERSION v0.1-345-ga77ede8-dirty
Needless to say, that's bad :(
How would I go about removing that trailing newline?
Oh my god you're a genius.
Thank you so much, kind sir! It works now!
On 07/08/10 00:00, John Drescher wrote:
On Wed, Jul 7, 2010 at 11:58 PM, John Drescher dresche...@gmail.com wrote:
Nice. that works. I'm so sorry to be such a bother, but here's my output
now...
#define
On 8. Jul, 2010, at 4:40 , Paul Harris wrote:
On 7 July 2010 23:05, Michael Wild them...@gmail.com wrote:
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the list.
I have a CMakeLists.txt and a subdirectory called utils,
On 8 July 2010 12:56, Michael Wild them...@gmail.com wrote:
On 8. Jul, 2010, at 4:40 , Paul Harris wrote:
On 7 July 2010 23:05, Michael Wild them...@gmail.com wrote:
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
Hi all,
I have looked and can't find the answer, so I turn to the
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 87cb90034cf433b7a3f278a052b19ebafc02be76 (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 d6a8fedfbf65d10fee2dc588f68306dbf01622f6 (commit)
from
38 matches
Mail list logo