e
> behavior I would expect.
>
> -
> Robert Dailey
>
>
> On Mon, Nov 7, 2011 at 11:23 AM, Alexander Neundorf
> wrote:
>>
>> On Friday 04 November 2011, David Cole wrote:
>> > On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly
>> > wrote:
>> > > D
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 so
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 wrote:
> I'm glad to inform you that I recently wrote an article about CMake
>
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 t
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 wrote:
>
On Wed, Nov 9, 2011 at 10:21 AM, Tom Deblauwe 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 su
Adding a generator will require C++ modifications to the CPack code...
On Wed, Nov 9, 2011 at 2:31 PM, Alexander Broekhuis
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
> basically the same as a zi
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 unl
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 wrote:
> I've been struggling with a real nuisance lately. When I run a build in
On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey 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 and I'm just d
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:
http://cmak
iles that utilize VS2003?
>
> -
> Robert Dailey
>
>
> On Thu, Nov 10, 2011 at 2:03 PM, David Cole wrote:
>>
>> On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey wrote:
>> > How do I generate makefiles for cygwin? Can I run CMake through Windows
>> > and
>&
> )
> add_test( test1 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
na
>
>
>
>
> -Original 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?
On Fri, Nov 11, 2011 at 11:12 AM, Daniel Dekkers 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)
>
> The lib
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 wrote:
> I am using CMake 2.8.6 and am hoping to generate a project for VS2010
> Express. Which generator should I use? I t
On Fri, Nov 11, 2011 at 1:08 PM, David Doria 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 seems very awkwa
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 r
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, Micha
that this is a project and just opens it as
> plain text? How do I now open this project 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
Moving forward, with new code, we should always use if(DEFINED) or
if(NOT DEFINED) constructs. They should largely be equivalent, except
for edge/corner cases you've noted involving variables whose values
are other variable names.
The construct found in lines such as:
IF("${VARIABLE}" MATCHES "^${
On Mon, Nov 14, 2011 at 9:36 AM, Robert Dailey wrote:
> On Mon, Nov 14, 2011 at 6:42 AM, Michael Wild 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
> link_directories() is ab
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 wrote:
> On Mon, Nov 14, 2011 at 1:59 PM, Michael Hertling
> wrote:
>>
>> On 11/14/2011 06:17 PM, Robert Dailey wrote:
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 wrote:
> (Visual studio bug actually - as I was trying to find the actual
> difference in the output, and finding none, I have to
On Wed, Nov 16, 2011 at 9:32 AM, Stephen Torri wrote:
> On 11/4/11, Michael Hertling 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 INSTALL(FILES ...). However, you can use a P
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 a
control systems.
HTH,
David
On Wed, Nov 16, 2011 at 12:01 PM, David Cole 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 to su
an online repository viewer would need to be added.
It's all do-able... just not done yet. :-)
David
> -----
> Robert Dailey
>
>
> On Wed, Nov 16, 2011 at 11:03 AM, David Cole wrote:
>>
>> And, to answer your initial question, no, perforce is not yet
u 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
; and I'll work on this for you (class names, interface methods that are
> important to implement, etc)
>
> -
> Robert Dailey
>
>
> On Wed, Nov 16, 2011 at 12:03 PM, David Cole wrote:
>>
>> On Wed, Nov 16, 2011 at 12:28 PM, Robert Dailey
>> wrot
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 wrote:
On Thu, Nov 17, 2011 at 12:26 PM, Alexander Neundorf
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.
>> > Also
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 t
On Thu, Nov 17, 2011 at 2:06 PM, Alexander Neundorf
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 inst
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
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 wrote:
> If you want to run an executable in the "M
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 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;a=
On Nov 19, 2011, at 2:02 AM, James Bigler wrote:
> On Fri, Nov 18, 2011 at 5:51 PM, Michael Hertling wrote:
> On 11/18/2011 10:03 PM, James Bigler wrote:
> > 2011/11/18 Alexander Neundorf
> >
> >> On Friday 18 November 2011, James Bigler wrote:
> >>> I thought CMake knew how to not drag all t
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?
>
> Cur
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 virus,
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 w
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 wrote:
> Unfortunately I don't have a whole lot of details to share her
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
now if telling someone to send 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 wrote:
>>
>> Submit/send your crash reports to Microsoft so they can f
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 wrote:
>
On Wed, Nov 23, 2011 at 1:26 PM, John Drescher wrote:
> On Wed, Nov 23, 2011 at 12:30 PM, Stephen Kelly 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 compilation units) so I would
That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this has
moved to line 390, but the same code is still there...
Looks like that whole else chunk should be removed. Unless somebody can say
why it's there...?
On Thu, Jul 30, 2009 at 5:41 AM, Pierre-Julien Villoud
wrote:
> Hi ev
If something is non-deterministic then it means there is a missing
dependency somewhere...
This should work. We have many dashboards that run with parallel Visual
Studio builds and work reliably day after day. Whenever I have seen a
problem with it, there has always been a missing depedency express
No. There is no -j flag to nmake.
On Thu, Jul 30, 2009 at 2:28 PM, Dominik Szczerba wrote:
> BTW do you know if it is possible to do a parallel build with nmake? (like
> -jN with GNU make)
> -- Dominik
>
>
> John Drescher wrote:
>
>> On Thu, Jul 30, 2009 at 2:16 PM, j s wrote:
>>
>>> I guess I wo
On Fri, Jul 31, 2009 at 11:01 AM, Tyler Roscoe wrote:
> On Fri, Jul 31, 2009 at 08:42:10AM -0400, Marc Schafer wrote:
> > add_custom_target ( generated_messages ALL
> > COMMAND
> > ${ANT_EXECUTABLE} -f
> ${PROJECT_SOURCE_DIR}/java/MessageGenerator/build.xml
> > run
> > COMMAND
> > ${CMAKE
On Wed, Aug 5, 2009 at 4:57 PM, Alexander Neundorf
wrote:
> On Thursday 30 July 2009, David Cole wrote:
> > That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this
> has
> > moved to line 390, but the same code is still there...
> >
> > Looks like t
On Thu, Aug 13, 2009 at 1:18 AM, Michael Wild wrote:
>
> On 13. Aug, 2009, at 1:14, Calder Coalson wrote:
>
> I have been torturing myself over the following short bit of code all
>> day to no avail, so I'm sending out an email to this list in the hopes
>> that someone can catch whatever stupid
>From CPack.cmake :cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS
"${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/")
Looks like you do not have a "PROJECT" statement in your top level
CMakeLists.txt file. If you did, the second component
of CPACK_INSTALL_CMAKE_PROJECTS would not be the empty
If you cache the svn creds on a Mac over an ssh connection, (instead of in
the Mac GUI) then they are stored as on Linux, in a file under the
~/.subversion directory. And then you will not be prompted for future
connections as the same user to the same repository...
(If you already have cached cre
You're using incorrect arguments as DEPENDS. Things that follow DEPENDS
should be full path file names... not cmake target names.
HTH,
David
On Wed, Aug 19, 2009 at 11:47 AM, Tim Kientzle wrote:
> Tim Kientzle wrote:
>
>> Tim Kientzle wrote:
>>
>>> I'm having trouble with a custom target that
Hold on there...
The Express editions are not meant to build redistributable binaries.
They're meant for personal use: i.e. -- each user compiles his own code. I'm
pretty sure it's a violation of the Express edition license agreement to
build binaries for other people. You need at least the "Stand
ess Editions.
>
> http://www.microsoft.com/express/support/faq/
>
> Juan
>
>
>
> On Thu, Aug 20, 2009 at 4:33 PM, David Cole wrote:
>
>> Hold on there...
>>
>> The Express editions are not meant to build redistributable binaries.
>> They're meant
Add a *.rc file to your ADD_EXECUTABLE sources.
In the *.rc file, add a line that references the ico file:
IDR_MAINFRAME ICON"res\\CMakeSetupDialog.ico"
(In this example, IDR_MAINFRAME is a #define that gives an integer
identifier for the ico resource.)
See CMake/Sou
> Mike Jackson mike.jack...@bluequartz.net
> BlueQuartz Softwarewww.bluequartz.net
> Principal Software Engineer Dayton, Ohio
>
> On Aug 21, 2009, at 3:48 PM, David Cole wrote:
>
> Add a *.rc file to your ADD_EXECUTABLE sou
If you are using "NMake Makefiles" as the CMake generator, just be sure to
launch cmake (or cmake-gui) from the "Visual Studio x64 Cross Tools Command
Prompt" That should build x64 code for you without any special
adjustments out of the box.
HTH,
David
On Tue, Aug 25, 2009 at 12:56 PM, Xiangy
Use full path file names as DEPENDS arguments.
Also: depend on the executable file too so that cmake knows not to try to
run the custom command before the executable is built...
i.e. :
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/server/someinput.txt
${CMAKE_BINARY_DIR}/bin/generate${CMAKE_EXECUTABLE_SUFFI
t to someoutput.txt
>>>> add_executable(generate server/generate.c)
>>>> add_custom_command(
>>>> # I want to generate someoutput.txt
>>>> OUTPUT ${CMAKE_BINARY_DIR}/server/someoutput.txt
>>>> # using the generate program. cmake knows that &qu
See also the BundleUtilities module.
Work in CVS CMake recently has extended the "fixup_bundle" function so that
it works on Windows/Linux as well as on a Mac. And what you are looking for
is exactly what it does. If executed in an install script, fixup_bundle will
analyze a given executable and t
On Fri, Aug 28, 2009 at 3:11 PM, Alex H wrote:
> Hello,
> So where do we specify/put in the CMakeLists.txt where test1 is expected to
> fail or pass?
> How does CTest knows this...
>
If your program returns a 0, it passes. If it does not, it fails.
If you want to invert this logic, set the tes
That feature (printing the timings) is in CVS HEAD of ctest. It's not in a
cmake release yet
On Mon, Aug 31, 2009 at 5:34 AM, Marcel Loose wrote:
> Hi John,
>
> How do you get these CPU times printed. I've never seen these before. Or
> is that a Windows thingy, that doesn't work on Linux?
>
Your original question was about why not everything was recompiling... Then,
when a solution is offered, you say "but if I do that everything will
recompile!"
We thought that's what you wanted... :-)
On Mon, Aug 31, 2009 at 2:22 PM, j s wrote:
> That wouldn't be good for what I am trying to do
Likely comes from a build tree produced with an original Visual Studio, then
an upgrade to a SP1 (or 2 or 3) of the same Visual Studio, then an
incremental build of the tree...
Produces some obj files that came from the original, some that came with SP1
and the blend causes dependencies on both ver
It should be fairly easy to add a 2nd custom command that creates the
directory and writes out a stamp file and then make your 1st custom command
depend on the stamp file.
I would go with that approach and put stuff where you want it rather than
trying to figure out where all the varied generators
These lines of output near the beginning:
-- warning: *NOT* handled - .app directory case...
-- error: fixup_bundle: not a valid bundle
...indicate that fixup_bundle is not getting a .app bundle as its input...
The assumption made by fixup_bundle is that there is an executable in the
.app/Content
Or just use "install(FILES" -- it already does the "if not exists, if newer
than" checks...
Actually, what you have now is a strange combination of checking for the
file's existence at "CMake configure" time, but then running a custom
command at "make" time -- both of which happen before "make inst
CTEST_ENVIRONMENT cannot be used from within CMakeLists.txt -- it is a
"ctest -S script" only variable...
To do what you want, you will have to use CVS CMake, or wait until CMake 2.8
and then use the ENVIRONMENT test property.
With CVS or the upcoming CMake 2.8, after calling ADD_TEST in your
CMak
When you say "make the project name a target" what do you mean by that?
(1) internally create a CMake target with the given name?
(2) create a makefile target with that name that builds all the cmake
targets in that cmake project?
(3) something else?
(1) is probably not feasible for most folks --
On Sat, Sep 12, 2009 at 2:45 AM, Michael Wild wrote
>
>
> True, but then you wouldn't point it at a binary directory. AFAIK, if you
> point project A at an out-of-source source, say project B, that project B
> will be built completely within the binary tree of A.
>
>
The second argument to add_sub
NAMES and PATHS need to be capitalized...
On Sun, Sep 13, 2009 at 3:25 PM, Calder Coalson wrote:
> Sorry to bother everyone, but I have a mildly inexplicable problem
> with the find_library function. I won't bother you with the entire
> code unless you ask for it, but here's a minimal example of
I believe the word used was "reproducible" not "reliable" -- and I think he
was talking about the fact that it is not reproducible because it depends on
human interaction. Other than the human sitting at the keyboard, I have
found ccmake (and *all* of the cmake executables) to be quite reliable.
Th
Sounds like maybe you are using "${CMAKE_CURRENT_SOURCE_DIR}" in a function
or macro. (defined at the top level, but called from a lower level)...
On Fri, Sep 18, 2009 at 4:12 PM, Brad King wrote:
> Robert Dailey wrote:
>
>>Where is the CMakeLists.txt file containing this line?
>>Pe
How about:
if(building_project_1)
include(${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists-1.txt)
endif()
if(building_project_2)
include(${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists-2.txt)
endif()
On Tue, Sep 22, 2009 at 11:55 AM, wrote:
> Hi,
>
> I have seen a thread about this issue but there was not a
See also the "IS_NEWER_THAN" clause of the IF command.
http://www.cmake.org/cmake/help/cmake2.6docs.html#command:if
On Fri, Sep 25, 2009 at 1:47 PM, James Bigler wrote:
> Is there a way to test if one file is newer than another file? Something
> along the lines if "cmake -E compare_files", but
On Mon, Sep 28, 2009 at 4:12 AM, Andreas Pakulat wrote:
> On 28.09.09 00:05:35, Pau Garcia i Quiles wrote:
> > On Fri, Sep 25, 2009 at 10:07 PM, Bill Hoffman
> wrote:
> > > I am happy to announce that CMake 2.8.0 has entered the beta stage! You
> > > can find the source and binaries here:
> http
This patch has been applied and the fix is in the 2.8.0-rc-1 release
candidate...
On Wed, Sep 2, 2009 at 11:27 PM, Chris Cheung wrote:
> Dear developers,
>
> I met the same problem as described in Issue 8177
>
> http://www.vtk.org/Bug/print_bug_page.php?bug_id=8177
>
> CPACK_NSIS_MODIFY_PATH d
Which TOT is the one you mean?http://acronyms.thefreedictionary.com/TOT
What day did you update CMake from CVS?
What Xcode version?
What Mac OSX version?
On Tue, Sep 29, 2009 at 12:17 AM, James Bigler wrote:
> I tried this with a fairly simple example with CMake cvs TOT. Any ideas?
>
> CMakeLi
On Tue, Sep 29, 2009 at 3:26 AM, Andreas Pakulat wrote:
> On 28.09.09 16:08:22, Brad King wrote:
> > Andreas Pakulat wrote:
> > > On 25.09.09 16:07:21, Bill Hoffman wrote:
> > >> I am happy to announce that CMake 2.8.0 has entered the beta stage!
> You
> > >> can find the source and binaries here
Are you using "FILE(WRITE"...?
What version of CMake?
This should work. Send the CMake code snippet you are using to try to do
this so that we can see what might be wrong.
If using older CMake (2.4.something) then you may have to do:
set(DOLLAR "$")
file(WRITE blah "${DOLLAR}{varNameHere}")
ake version is 2.4.8, but customized with our own generators.
>
> Maybe the simpler thing, given the case and the lack of a direct solution,
> would
> be to add a specific string to the attribute, signaling to the code that it
> should be replaced ?
>
> Fred
>
> Quoting Da
I reproduced this. In the CPackConfig.cmake that ends up in the binary tree,
the following contents are found:
SET(CPACK_NSIS_DISPLAY_NAME "MyStuff\CMakeTest 1.1")
SET(CPACK_NSIS_PACKAGE_NAME "MyStuff\CMakeTest 1.1")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "MyStuff\\CMakeTest 1.1")
The display name a
What's the issue number?
Is there a patch attached to it...?
On Wed, Oct 14, 2009 at 12:31 PM, Clinton Stimpson wrote:
>
> I've found there's an xcode setting for this, but CMake doesn't put it in
> the
> generated xcode project.
> There's already a thing in the bug tracker for this.
> That woul
Have the scheduled task call a batch file of your creation (driver.bat)
Have driver.bat call vcvars32.bat and then ctest -S your script like this:
startlocal
call "C:\Program Files\full\path\to\vcvars32.bat"
"C:\Program Files\CMake 2.6\bin\ctest.exe" -S "C:\full\path\to\script.cmake"
endlocal
sta
The return value of ctest after it runs a -S script indicates whether the
script as a whole succeeded or not. The only way it succeeds all the way and
returns 0 is if *all* of the steps invoked are error free.
The build errors mean that ctest's return value will be non-zero. (Same for
update, confi
One easy way to hack around this problem would be to use add_custom_command
to invoke the rc.exe directly...
Not sure if you could just include a *.res file (output from rc) as a source
in an add_library or add_executable call, though.
Worth a shot
On Tue, Oct 20, 2009 at 3:20 PM, John Dres
You are not using full paths as the args to configure_file...
Why not just this?
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/blessed.txt
${CMAKE_CURRENT_BINARY_DIR}/blessed.txt COPY_FILE )
On Wed, Oct 21, 2009 at 9:59 PM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:
> I am using con
How about "-C Debug" instead of "-C debug"? -- case matters.
On Thu, Oct 22, 2009 at 4:10 AM, Stappers, F.P.M. wrote:
> Hello,
>
> I'm facing the following problem and have some difficulty solving it.
> I want to set up Nightly/Experimental tests for debug builds with MSVC2008.
> After a cmake-c
s
code reuse, and is responsive to change. Utkarsh Ayachit provides a brief
tutorial on adding representation plugins in ParaView. Andrew Maclean, from
ACFR, discusses the use of ParaView in a mining research environment. And
David Cole provides a tutorial on building external projects with CMake 2.8.
Try:
set_target_properties(qlom
PROPERTIES
LINK_FLAGS ${GLOM_LDFLAGS})
(without the double quotes).
On Mon, Oct 26, 2009 at 2:46 PM, Murray Cumming wrote:
> On Fri, 2009-10-23 at 13:42 +0200, Murray Cumming wrote:
> > pkg_search_module() defines SOMEPREFIX_LIBRARY_DIRS among
ct 26, 2009 at 4:50 PM, Murray Cumming wrote:
> On Mon, 2009-10-26 at 16:22 -0400, David Cole wrote:
> > Try:
> > set_target_properties(qlom
> >PROPERTIES
> >LINK_FLAGS ${GLOM_LDFLAGS})
> >
> >
> > (without the double quotes).
>
On Win64, in a 32-bit calling environment, there are two environment
variables with values like this:
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
In a pure 64-bit calling environment, there is just:
PROCESSOR_ARCHITECTURE=AMD64
(and no value for PROCESSOR_ARCHITEW6432)
...so: you coul
"ExtSubProj" is the name of a custom CMake target.
You should be able to:
add_dependencies(mylib1 ExtSubProj)
add_dependencies(mylib2 ExtSubProj)
And get ExtSubProj should build first before mylib1 and mylib2. (Assuming
mylib1 and mylib2 are add_library targets.) Also works with add_executable
ta
On Wed, Oct 28, 2009 at 11:45 AM, Mathieu Malaterre <
mathieu.malate...@gmail.com> wrote:
> On Wed, Oct 28, 2009 at 4:41 PM, Tyler Roscoe wrote:
> > This is a bad practice because then CMake has no way to know if there
> > are new header files and can't regenerate/install correctly. Ok maybe a
>
You are touching an existing header file...
What happens if you add a new header file that was not there the first time
you ran make install?
On Wed, Oct 28, 2009 at 2:26 PM, Tyler Roscoe wrote:
> On Wed, Oct 28, 2009 at 01:18:55PM -0400, David Cole wrote:
> > Except: that argume
801 - 900 of 2513 matches
Mail list logo