Wiki page is here:
http://www.cmake.org/Wiki/BundleUtilitiesExample
On Thu, Nov 3, 2011 at 2:35 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
You will want to look for BundleUtilities in the CMake Wiki for a working
example of this.
On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly steve...@gmail.com wrote:
David Cole wrote:
On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey
rcdai...@gmail.com wrote:
On Tue, Nov 1, 2011 at 3:32 PM, David Cole
david.c...@kitware.com wrote:
Not yet
Meaning there are plans in the works to add
On Fri, Nov 4, 2011 at 12:23 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Friday 04 November 2011, David Cole wrote:
On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly steve...@gmail.com wrote:
David Cole wrote:
On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey
rcdai...@gmail.com
Maybe because of this bug (or at least something similar to it):
http://public.kitware.com/Bug/view.php?id=12480
Already on the roadmap for 2.8.7.
On Fri, Nov 4, 2011 at 1:26 PM, Eric Noulard eric.noul...@gmail.com wrote:
I'm trying to use a mingw32 toolchain on Linux (with cmake 2.8.6)
.
-
Robert Dailey
On Mon, Nov 7, 2011 at 11:23 AM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Friday 04 November 2011, David Cole wrote:
On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly steve...@gmail.com
wrote:
David Cole wrote:
On Tue, Nov 1, 2011 at 4:33 PM, Robert
More info, please...
I assume you mean CMake 2.8.6 and not 2.4.6, as in the subject line... :-)
Are you setting CC and CXX before calling cmake -G Xcode ../CMake?
That's not a valid way of setting the compiler to a different compiler
with the Xcode generator.
Are you trying to build CMake or
Excellent! Will the article be available online, or do you have to get
a copy of the November issue of the magazine to read the article?
Thanks,
David C.
Kitware, Inc.
On Tue, Nov 8, 2011 at 3:54 AM, Andrea Galeazzi galea...@korg.it wrote:
I'm glad to inform you that I recently wrote an
Applied:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0e721e512941c7f7aa51116c3291dfa198b5fccb
If you use git, please use git format-patch -1 after making a commit
to prepare future patches. That makes it slightly easier for us to
apply patches and test them out. Plus, it automatically
The CMake Visual Studio generators do not presently support multiple
platforms in the same Visual Studio project file. Moreover, they do
not presently support anything beyond 32- and 64-bit Windows targets.
You will need separate solution and project files for separate
platforms, or you will need
There are also generator expressions for TARGET_LINKER_FILE and
TARGET_SONAME_FILE -- have you tried those? I think when the target is
a .dll, the TARGET_LINKER_FILE expression yields the name of the
corresponding .lib file...
HTH,
David
On Wed, Nov 9, 2011 at 10:28 AM, Ludovic Hoyet
On Wed, Nov 9, 2011 at 10:21 AM, Tom Deblauwe tom.debla...@traficon.com wrote:
On Wednesday 09 November 2011 12:45:43 David Cole wrote:
The CMake Visual Studio generators do not presently support multiple
platforms in the same Visual Studio project file. Moreover, they do
not presently support
Adding a generator will require C++ modifications to the CPack code...
On Wed, Nov 9, 2011 at 2:31 PM, Alexander Broekhuis
a.broekh...@gmail.com wrote:
Hi all,
It is possible to add a custom generator to cpack?
What I'd like to have is a generator for Jar files. I know a jar file is
As noted in that bug itself in the most recent note:
Brad just put this one in the backlog... I'm not going to put it on
the roadmap for 2.8.6 unless somebody else steps forward with more
work on this, as noted by Brad in his previous comments here.
I'm going to say the same thing for 2.8.7
I like reliable. I always do exactly as you say:
close VS2003 completely, run CMake on the outside, and then reopen
my solution.
That's just what I do...
David
On Thu, Nov 10, 2011 at 2:30 PM, Robert Dailey rcdai...@gmail.com wrote:
I've been struggling with a real nuisance lately. When I
On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey rcdai...@gmail.com wrote:
How do I generate makefiles for cygwin? Can I run CMake through Windows and
generate Unix Makefiles, or do I need to run cmake from inside of cygwin
itself to generate?
Instructions would be awesome, since I suck at linux
When you add an IMPORTED target, CMake does not know where the
imported target is AT ALL until you tell it.
After:
add_executable(run_main.pl IMPORTED)
You need:
set_property(TARGET run_main.pl PROPERTY IMPORTED_LOCATION
${CMAKE_CURRENT_SOURCE_DIR}/run_main.pl)
See docs here:
?
-
Robert Dailey
On Thu, Nov 10, 2011 at 2:03 PM, David Cole david.c...@kitware.com wrote:
On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey rcdai...@gmail.com wrote:
How do I generate makefiles for cygwin? Can I run CMake through Windows
and
generate Unix Makefiles, or do I need
run_main.pl)
If run_main.pl is
#!/usr/bin/perl
system main --val 24
Main could be in the build tree if it comes from main.cxx or it could be in
the source tree if it is a script. How does cmake know where main is at?
-Original Message-
From: David Cole [mailto:david.c
Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
EXT-York, Gantry
Sent: Thursday, November 10, 2011 2:34 PM
To: David Cole
Cc: cmake@cmake.org
Subject: Re: [CMake] Where are tests located?
OK, so if I'm trying to add a test do I just
add_executable
On Fri, Nov 11, 2011 at 11:12 AM, Daniel Dekkers d.dekk...@cthrough.nl wrote:
Hi,
We are building a lib and an example app in Xcode (4.2) targeting iOS (5.0).
The top-level CMakeLists.txt recurses into lib and example:
PROJECT(Suite)
ADD_SUBDIRECTORY(MyLibrary)
ADD_SUBDIRECTORY(MyExample)
You just need to install a PlatformSDK to go with VS 2010 Express.
Search the mailing list for prior discussions of this fact.
On Fri, Nov 11, 2011 at 11:36 AM, David Doria daviddo...@gmail.com wrote:
I am using CMake 2.8.6 and am hoping to generate a project for VS2010
Express. Which
On Fri, Nov 11, 2011 at 1:08 PM, David Doria daviddo...@gmail.com wrote:
I saw a discussion about this back in March, but I didn't see any
conclusions/resolutions. Is there a way to generate a QtCreator
project using CMake? I tried the CMake support that was built into
QtCreator itself, but it
UNIX is ON for cygwin based builds. (However, WIN32 is not ON any
longer. It used to be, but the cygwin guys didn't want it that way, so
now WIN32 is OFF.)
Assuming you are in a directory named CMake which is the CMake
source tree, you can do the following to produce a cygwin based CMake
(in a
For reference, the bug Mike refers to is this one:
http://public.kitware.com/Bug/view.php?id=11258
I always use the manual technique of shutting down VS, running CMake,
and then re-opening VS. It's really not that bad, once you get used to
it.
David C.
On Fri, Nov 11, 2011 at 5:48 PM,
in QtCreator?
To use Visual Studio 2010 Express
If the VS PlatformSDK that David Cole mentioned is installed properly,
does a Visual Studio 2010 Express generator appear in the list of
generators? If not, which one am I supposed to use?
Thanks,
David
--
Powered by www.kitware.com
Visit
On Mon, Nov 14, 2011 at 9:36 AM, Robert Dailey rcdai...@gmail.com wrote:
On Mon, Nov 14, 2011 at 6:42 AM, Michael Wild them...@gmail.com wrote:
Hi Arun
Consider LINK_DIRECTORIES to be obsolete and to be avoided at all cost.
I don't really agree with this advice. There are circumstances where
If you already know where all the libraries are, please just use the
full paths to those libraries, and do not use find_library.
On Mon, Nov 14, 2011 at 3:15 PM, Robert Dailey rcdai...@gmail.com wrote:
On Mon, Nov 14, 2011 at 1:59 PM, Michael Hertling mhertl...@online.de
wrote:
On 11/14/2011
If you end the name in a ., or set the suffix to ., does it
produce a file like you want? Or does it still append dll?
On Wed, Nov 16, 2011 at 2:06 AM, J Decker d3c...@gmail.com wrote:
(Visual studio bug actually - as I was trying to find the actual
difference in the output, and finding none,
On Wed, Nov 16, 2011 at 9:32 AM, Stephen Torri stephen.to...@gmail.com wrote:
On 11/4/11, Michael Hertling mhertl...@online.de wrote:
The problem is that PDB files are usually generated next to their binary
in a configuration-specific directory which can not be accessed smoothly
by
CDash is just a web app / server app. It does not do builds, it just
collects information from clients that submit to it, and displays
results.
Client machines can run ctest -S scripts to submit build/test results
to a CDash dashboard.
Look at the notes attached to a typical CMake dashboard for
control systems.
HTH,
David
On Wed, Nov 16, 2011 at 12:01 PM, David Cole david.c...@kitware.com wrote:
CDash is just a web app / server app. It does not do builds, it just
collects information from clients that submit to it, and displays
results.
Client machines can run ctest -S scripts
all do-able... just not done yet. :-)
David
-
Robert Dailey
On Wed, Nov 16, 2011 at 11:03 AM, David Cole david.c...@kitware.com wrote:
And, to answer your initial question, no, perforce is not yet an
officially supported version control system for use with ctest -S
scripts
are a contributor, please take note, and get any pending
changes merged to 'next' and tested on the dashboard over the next 2-3
weeks before the first rc.
Thanks,
David Cole
Kitware, Inc.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource
, etc)
-
Robert Dailey
On Wed, Nov 16, 2011 at 12:03 PM, David Cole david.c...@kitware.com wrote:
On Wed, Nov 16, 2011 at 12:28 PM, Robert Dailey rcdai...@gmail.com
wrote:
So basically because we use perforce, there is no way to use ctest?
Well, you can still use ctest, you just
Looks like OpenCV is not built or installed correctly here.
The string @CMAKE_LIB_DIRS_CONFIGCMAKE@ should have been resolved
into a list of directories value when the OpenCVConfig.cmake file
was created.
How did you build/install OpenCV?
On Wed, Nov 16, 2011 at 4:51 PM, Javi Soler
On Thu, Nov 17, 2011 at 12:26 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Thursday 17 November 2011, Alan W. Irwin wrote:
Hi Alex:
On 2011-11-15 18:07+0100 Alexander Neundorf wrote:
Hi,
cmake ships with a FindPkgConfig.cmake file, which is used by some Find-
modules.
To use two different compilers, you simply need two different build
trees. Same CMakeLists file, but different build trees.
You should not specify the compiler in your CMakeLists.txt files at
all, but rather set CC and CXX env vars to control the compiler when
first generating a build tree.
See
On Thu, Nov 17, 2011 at 2:06 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Thursday 17 November 2011, David Cole wrote:
...
If a project does something like this (distributes a file with
build/install time information in it) but then lets the end user of
the binary installation put
If you want to run an executable in the MyProject directory instead
of the bin directory, then set:
set(CPACK_NSIS_EXECUTABLES_DIRECTORY MyProject)
If you want to run one in the root installation directory, set:
set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
So I still assert that the bug is
This commit shows the code that fixed the bug, and led me to the docs
for that variable:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bee514c3611f7a7b972d9ade14f94c0f25bc001e
On Fri, Nov 18, 2011 at 7:04 AM, David Cole david.c...@kitware.com wrote:
If you want to run an executable
Actually, that commit just led me to a usage of that variable. The
docs were added later.
On Fri, Nov 18, 2011 at 7:06 AM, David Cole david.c...@kitware.com wrote:
This commit shows the code that fixed the bug, and led me to the docs
for that variable:
http://cmake.org/gitweb?p=cmake.git
On Nov 19, 2011, at 2:02 AM, James Bigler jamesbig...@gmail.com wrote:
On Fri, Nov 18, 2011 at 5:51 PM, Michael Hertling mhertl...@online.de wrote:
On 11/18/2011 10:03 PM, James Bigler wrote:
2011/11/18 Alexander Neundorf a.neundorf-w...@gmx.net
On Friday 18 November 2011, James Bigler
The add_test command only works in the context of a CMakeLists.txt file. It is
not a scriptable command.
HTH,
David
On Nov 20, 2011, at 12:24 PM, noru...@me.com wrote:
Hi,
I want to use the add_test() command in a ctest script, but what must I
include to get them working?
Currently
Have you run a full virus scan on your entire system? I would think that if you
have a pre-existing virus, and are building software on that machine, then it's
quite likely for a copy of that virus to end up in whatever software you are
building, regardless of what it is, depending on the
CMake does use env vars PATH, LIB and INCLUDE when detecting executables,
libraries and header files. If your env is set up on a machine-wide basis for
vs 2003, it would not surprise me if some things were found inconsistently when
attempting to build for vs 10...
On Nov 19, 2011, at 1:48 PM,
I've also always found a key ingredient in making multiple versions of
Visual Studio work well with each other is to keep them from adding
anything about themselves into system-wide or user-wide env var
values. It's both unnecessary and counterproductive.
Especially given the fact that VS itself
Submit/send your crash reports to Microsoft so they can fix it...
I haven't heard of a problem like this. Is it 100% reproducible? (i.e.
does it happen every time you do this?)
On Mon, Nov 21, 2011 at 4:30 PM, Robert Dailey rcdai...@gmail.com wrote:
Unfortunately I don't have a whole lot of
If you are building a static library, then there is nothing for the
linker to put into your library that comes from boost.
If somebody then builds a shared library or an executable that links
to your library, they will also have to link the dependent boost
libraries, if the functions they call in
reports to Microsoft and have them
fix the problem is the most reasonable solution.
-
Robert Dailey
On Mon, Nov 21, 2011 at 5:18 PM, David Cole david.c...@kitware.com wrote:
Submit/send your crash reports to Microsoft so they can fix it...
I haven't heard of a problem like
I have not heard of anybody building a Sandboxed app using CMake yet.
What are the requirements for a Sandboxed app? Is there a
documentation page from Apple that describes what needs to be in the
Info.plist to support Sandboxing?
Thx,
David
On Tue, Nov 22, 2011 at 10:44 AM, NoRulez
On Wed, Nov 23, 2011 at 1:26 PM, John Drescher dresche...@gmail.com wrote:
On Wed, Nov 23, 2011 at 12:30 PM, Stephen Kelly steve...@gmail.com wrote:
David Demelier wrote:
Hello,
I'm creating a library that use a lot of internal code (not static
because it should be visible by other
You are calling add_test correctly.
Now you need to call ctest like this:
ctest -C Release
or
ctest -C Debug
to test a particular configuration...
HTH,
David
On Fri, Nov 25, 2011 at 11:21 AM, W Eryk Wolski wewol...@gmail.com wrote:
I am testing against reference data in the source
Really?
The only error output is:
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++
failed with exit code 1
?? How are we supposed to figure out what's wrong with the
archiving step with that?
What are the Xcode project file differences between a CMake-generated
Are you using CMake 2.8.6...? Older CMake versions have not been used
much on Lion. It wouldn't surprise me if 2.8.6 works, but earlier
versions have issues...
HTH,
David
On Sat, Nov 26, 2011 at 6:37 AM, Daniel Dekkers d.dekk...@cthrough.nl wrote:
This:
SET(CMAKE_OSX_ARCHITECTURES
On Mon, Nov 28, 2011 at 5:05 AM, J Decker d3c...@gmail.com wrote:
On Sun, Nov 27, 2011 at 8:30 AM, Michael Hertling mhertl...@online.de wrote:
On 11/26/2011 07:14 PM, J Decker wrote:
Earlier I wondered if there was a way to stop recusive invocation of a
build command in a cmake script - I
If you're using 2.8.6 (you said you were, right?) ... do this:
set(CTEST_CONFIGURATION_TYPE ${JOB_BUILD_CONFIGURATION})
instead of this:
set(CTEST_BUILD_CONFIGURATION ${JOB_BUILD_CONFIGURATION})
Setting both will not hurt, but if both are set,
CTEST_CONFIGURATION_TYPE is used, and not
On Mon, Nov 28, 2011 at 9:15 AM, Nils Gladitz glad...@sci-vis.de wrote:
Yes, thank you, that fixed it.
Maybe this should be updated in the default template generated by CDash(?).
Nils
Yes, it should. :-)
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
For CMake itself, we have a one-to-one correlation between a script
run and an entry that appears on the dashboard. We also have a common
script that's included for nearly all CMake dashboard submissions, and
we switch things that are different between different runs with simple
variable sets for
The double quoting is wrong.
Do this (no quotes necessary):
COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER}
Not this:
COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER}
HTH,
David
On Tue, Nov 29, 2011 at 5:37 PM, NoRulez noru...@me.com wrote:
Hi,
I want to do something after the
On Wed, Nov 30, 2011 at 6:51 PM, Renato Utsch renatout...@gmail.com wrote:
Hello CMake guys...
Well, I was writing a portable program using CMake that uses Qt as it's GUI
framework...
I compiled it on linux and it worked really well, no problems. But when
compiling on Windows, the program
You are not expressing any dependency between the custom commands, so
they may run in parallel, or in any order... If they are connected and
the running of one depends on the output of the other, you need to
express that.
add_custom_command(
OUTPUT ${ASYFIG}.eps
COMMAND asy
16, 2011 at 1:31 PM, David Cole david.c...@kitware.com wrote:
Just looking at the calendar...
Three short weeks from today, we are planning to schedule the build
and upload of CMake 2.8.7-rc1 so all of you can give it a try.
Followed by weekly rc's as needed until the final official release
The answer to Is this possible? is almost nearly always yes, of course.
The wiki page http://www.cmake.org/Wiki/BundleUtilitiesExample shows a
basic code snippet like this:
set(APPS ...) # paths to executables
set(DIRS ...) # directories to search for prerequisites
INSTALL(CODE
Yes, there's a problem with https. By default, ctest does not link to
a curl that has openssl enabled.
If you need to download from an https-only site, you'll need to build
your own ctest that does have openssl enabled.
Alternatively, find a place (or make your own) to get the download
from that
On Tue, Dec 6, 2011 at 12:08 PM, Matthew LeRoy mle...@minitab.com wrote:
On 2011-12-03 14:54-0800 Alan W. Irwin wrote:
On 2011-12-03 12:42-0800 Alan W. Irwin wrote:
On 2011-12-02 19:33- Matthew LeRoy wrote:
Assuming we want to just put the install tree in version control
somewhere,
On Tue, Dec 6, 2011 at 4:26 PM, David Doria daviddo...@gmail.com wrote:
On Tue, Dec 6, 2011 at 4:19 PM, Robert Dailey rcdai...@gmail.com wrote:
Has anyone thought of creating a LIST type for cache variables? In CMake
GUI on Windows, this would be represented by a combo-box or drop-down box
differently.
Perhaps you still need to make the mental leap that a list is a
string, and that a string is a list, in the CMake language?
David
On Tue, Dec 6, 2011 at 3:32 PM, David Cole david.c...@kitware.com wrote:
On Tue, Dec 6, 2011 at 4:26 PM, David Doria daviddo...@gmail.com wrote
On Wed, Dec 7, 2011 at 1:40 AM, Michael Wild them...@gmail.com wrote:
On 12/07/2011 01:49 AM, Totte Karlsson wrote:
Well, then just use add_definitions(-DIMPORT_X_DLL). If
-DEXPORT_X_DLL is present, it will override your export/import
header definitions for the import case, and everything
On Wed, Dec 7, 2011 at 9:37 AM, Schuchard, Matthew
matthew.schuch...@gtri.gatech.edu wrote:
I am having this strange issue with building a library and then linking it
to an executable.
If I have the following in my CMakeList:
add_library(libfoo.a ${srcfiles})
add_executable(foo_exec.Fx
for confirmation from the dashboards overnight
that all is ready. and then:
You can expect to see CMake 2.8.7-rc1 tomorrow.
Cheers,
David
On Thu, Dec 1, 2011 at 4:39 PM, David Cole david.c...@kitware.com wrote:
Reminder for contributors:
Just one more reminder: CMake 2.8.7-rc1 is scheduled
, David Cole david.c...@kitware.com wrote:
During our merge session yesterday, there were a handful of topics
that we were almost ready to merge to 'master' but which could not be
because they missed the nightly start time or because they caused
style errors on the dashboard... They are ready
On Thu, Dec 8, 2011 at 3:09 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Wednesday 07 December 2011, David Cole wrote:
On Tue, Dec 6, 2011 at 5:13 PM, Robert Dailey rcdai...@gmail.com wrote:
Thanks for that info David.
You're welcome.
I have to say that the way this is setup
No, the FOLDER property is only a mechanism for grouping and
organizing *targets*, it is not a source file property...
On Thu, Dec 8, 2011 at 4:19 PM, J Decker d3c...@gmail.com wrote:
set_property(GLOBAL PROPERTY USE_FOLDERS On)
SET_SOURCE_FILES_PROPERTIES( ${YOUR_SOURCES} PROPERTIES
On Thu, Dec 8, 2011 at 4:37 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Thursday 08 December 2011, Robert Dailey wrote:
...
Perhaps the mental leap is the inverse of what you propose: A list is not a
string and should not be a string (although the syntax differences between
them
for versioned library names
Clinton Stimpson (2):
Fix XML safety issue with adding preprocessor defines in
CodeBlocks project.
Qt4: Fix dependencies of QtDeclartive.
Dan Kegel (1):
Modules: Add XRes to FindX11.cmake
David Cole (17):
Begin post-2.8.6 development
CTest: Fix
2011/12/8 Mateusz Łoskot mate...@loskot.net:
On 8 December 2011 21:45, David Cole david.c...@kitware.com wrote:
No, the FOLDER property is only a mechanism for grouping and
organizing *targets*, it is not a source file property...
Is it the source_group still the recommended way of grouping
On Thu, Dec 8, 2011 at 5:43 PM, Robert Dailey rcdai...@gmail.com wrote:
On Thu, Dec 8, 2011 at 3:53 PM, David Cole david.c...@kitware.com wrote:
The 4th argument to SET (when CACHE is used) is the *type* of the
cache entry itself. I will not call a cache entry a LIST when it is
not actually
in the reference documentation,
or the wiki?
-
Robert Dailey
On Thu, Dec 8, 2011 at 6:00 PM, David Cole david.c...@kitware.com wrote:
On Thu, Dec 8, 2011 at 5:43 PM, Robert Dailey rcdai...@gmail.com wrote:
On Thu, Dec 8, 2011 at 3:53 PM, David Cole david.c...@kitware.com
wrote:
The 4th
On Thu, Dec 8, 2011 at 8:58 PM, David Cole david.c...@kitware.com wrote:
On Thu, Dec 8, 2011 at 8:27 PM, Robert Dailey rcdai...@gmail.com wrote:
Thanks, glad you like the idea.
I've seen the word choice used in many scenarios where the user is given a
list to pick from, so it seemed like
On Fri, Dec 9, 2011 at 3:50 AM, Eric Noulard eric.noul...@gmail.com wrote:
2011/12/9 Clifford Yapp cliffy...@gmail.com:
I decided to take a stab at using the Eclipse Unix Makefile generator
with my project - on import, I get the following error:
Error processing changed links in project
On Fri, Dec 9, 2011 at 9:59 AM, Robert Dailey rcdai...@gmail.com wrote:
On Thu, Dec 8, 2011 at 7:59 PM, David Cole david.c...@kitware.com wrote:
Well, nearly
You'll have to double-quote the ${documentation} inside the function
in case it is the empty string...
Or if it has spaces
On Fri, Dec 9, 2011 at 9:30 AM, m.hergarden m.hergar...@euphoria-it.nl wrote:
I have two buildservers: a Linux box and a Windows box. I now have a
buildscript that does a svn checkout in the homedir of the Linux build user.
This directory is shared read/write using Samba. The Windows builduser
On Fri, Dec 9, 2011 at 11:41 AM, J Decker d3c...@gmail.com wrote:
On Thu, Dec 8, 2011 at 1:45 PM, David Cole david.c...@kitware.com wrote:
No, the FOLDER property is only a mechanism for grouping and
organizing *targets*, it is not a source file property...
uhh... FOLDER works on projects
Apparently, they are undocumented, but there are also:
CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS (and their
per-config variants) for SHARED and MODULE library targets as well.
Use CMAKE_SHARED_LINKER_FLAGS instead.
HTH,
David
On Mon, Dec 12, 2011 at 3:00 PM, Robert Dailey
On Mon, Dec 12, 2011 at 3:15 PM, Robert Dailey rcdai...@gmail.com wrote:
On Mon, Dec 12, 2011 at 2:13 PM, Robert Dailey rcdai...@gmail.com wrote:
On Mon, Dec 12, 2011 at 2:10 PM, David Cole david.c...@kitware.com
wrote:
Apparently, they are undocumented, but there are also
RUNTIME_OUTPUT_DIRECTORY is a target property, not a variable. You'd
have to use get_property to retrieve its value, not
${RUNTIME_OUTPUT_DIRECTORY}...
HTH,
David
On Tue, Dec 13, 2011 at 10:04 AM, Totte Karlsson
to...@dunescientific.com wrote:
not sure if the following was sent to the
mailto:them...@gmail.com wrote:
On 12/12/2011 09:13 PM, Robert Dailey wrote:
On Mon, Dec 12, 2011 at 2:10 PM, David Cole
david.c...@kitware.com mailto:david.c...@kitware.com
mailto:david.c...@kitware.com
mailto:david.c...@kitware.com
questions.
Thx,
David Cole
Kitware, Inc.
I tried with this code
if(CPACK_GENERATOR MATCHES RPM)
EXECUTE_PROCESS(COMMAND echo ${CMAKE_INSTALL_PREFIX})
endif(CPACK_GENERATOR MATCHES RPM)
But this code doesn't work.
regards
Vivek Goel
--
Powered by www.kitware.com
Visit other Kitware
This is because we should really only allow one project command per
CMakeLists.txt file, but since we do not error out, it's difficult to change at
this point in time...
--build uses the CMAKE_PROJECT_NAME cache variable to decide what sln file to
use, and that corresponds to the first project
On Dec 15, 2011, at 3:23 AM, Rolf Eike Beer e...@sf-mail.de wrote:
I wrote a TestForPosix module for looking if the system supports a POSIX /
XPG / SUS standard and I wanted for you experts to look and criticize if
you find anything wrong. I would also ask how can I make a request for it
to
On Sat, Dec 17, 2011 at 5:00 AM, J Decker d3c...@gmail.com wrote:
Ya know... that's good and all, and I suppose 'proper' design accounts
for this, but there are several directories that have multiple targets
because they don't really merit a subdirectory; the code is less than
200 lines, and
On Sat, Dec 17, 2011 at 12:32 PM, Eric Noulard eric.noul...@gmail.com wrote:
2011/12/17 Totte Karlsson to...@dunescientific.com:
But I found this NSIS specific setting
CPACK_NSIS_INSTALL_ROOT
But setting that as C:\\ still create the error: Function missing ending
) .
Not sure how to get
On Sat, Dec 17, 2011 at 1:48 PM, Eric Noulard eric.noul...@gmail.com wrote:
2011/12/17 David Cole david.c...@kitware.com:
On Sat, Dec 17, 2011 at 12:32 PM, Eric Noulard eric.noul...@gmail.com
wrote:
2011/12/17 Totte Karlsson to...@dunescientific.com:
But I found this NSIS specific setting
On Sun, Dec 18, 2011 at 7:34 PM, eddy...@gmail.com wrote:
Greetings,
I have noticed that it is possible to run in to problems with CMake
when sub directories or test names contain spaces. CMake initially
parses quote delimited strings correctly, however it writes them
without quotes into
Use --verbose on the CPack command line to get more information
about why it's failing.
Also, look for log files under the _CPack_Packages directory to see if
there are any additional details in there.
Does it happen consistently every time you run cpack, or is it sporadic?
We frequently see
list out.
And one last thing, thank you for such a quick response!
-- Forwarded message --
From: Yngve Levinsen yngve.levin...@gmail.com
Date: 19 December 2011 17:03
Subject: Re: [CMake] cpack DragNDrop on OSX 10.7
To: David Cole david.c...@kitware.com
Hi,
Thanks
The FIND subcommand for the string command was introduced in CMake
2.8.5 as a result of this bug fix:
http://public.kitware.com/Bug/view.php?id=11795
It does not exist in 2.8.4...
On Tue, Dec 20, 2011 at 7:53 AM, Renato Utsch renatout...@gmail.com wrote:
I am using CMake 2.8.4 in cygwin
-- Forwarded message --
From: Yngve Levinsen yngve.levin...@gmail.com
Date: 19 December 2011 17:30
Subject: Re: [CMake] Fwd: cpack DragNDrop on OSX 10.7
To: David Cole david.c...@kitware.com
I did not change any install rules. Yes it was working before, but
with Lion I also made
:35 pm David Cole wrote:
You're doing this:
set(APPS \${CMAKE_INSTALL_PREFIX}/madx${BINARY_POSTFIX}.app) #
paths to executables
set(DIRS )
Then this:
INSTALL(CODE
include(BundleUtilities)
fixup_bundle(\${APPS}\ \\ \${DIRS}\)
COMPONENT Runtime)
Which means
Here's my initial shot at it:
http://stackoverflow.com/questions/8479929/cmake-add-subdirectory-and-recompiling/8593372#8593372
On Wed, Dec 21, 2011 at 11:25 AM, André Caron andre.l.ca...@gmail.com wrote:
I've recently been surprised by the behavior of CMake when modifying
CMakeLists.txt
301 - 400 of 3692 matches
Mail list logo