You could subscribe to the Kitware blog. It's more than just CMake, but they do
announce all releases there.
Thanks,
Ben
On Monday, June 25, 2012 at 4:16 PM, Craig Scott wrote:
> Hi all. There's a fair amount of traffic on this list these days. Even in
> digest
> mode, it's not unusual to
gt;
> On Wed, Jun 13, 2012 at 3:20 AM, Ben Medina wrote:
>>
>> - Using the VS2010 generator, the project files have relative paths.
>> VS2012RC can load 2010 project files without modifying them. If I do
>> this, compilation of individual files is successful.
>
>
those dependencies with the appropriate find module? I suppose
> that the 'superbuild' could set the BOOST_ROOT variable (or other appropriate
> variables) for my real project. I'll play around with this idea when I get
> some time, thanks for the comment!
&
> 4. ExternalProject_Add will download, configure and build projects at
> ‘build’ time. From the documentation, this sounded like a design decision.
> However, this means that you can’t use the already robust and mature
> findboost() module to configure the Boost project. Would it be possib
For Visual Studio, I always disable the zero check project by setting
CMAKE_SUPPRESS_REGENERATION to true in my CMake cache. The downside is
that you have to run CMake by hand to regenerate project files. But
the experience of CMake running while Visual Studio has the project
loaded is quite terrib
> Yeah - I can reproduce this too (better late than never - sorry!) I've
> upvoted your bug report Ben.
>
> Cheers,
>
> Fraser.
>
>
>
> On 12/06/2012 19:55, Ben Medina wrote:
>>
>> I've filed a bug with Microsoft:
>>
>> https://connect.mi
I've filed a bug with Microsoft:
https://connect.microsoft.com/VisualStudio/feedback/details/748640/cannot-compile-individual-files-if-project-contains-full-path-to-file
On Tue, Jun 12, 2012 at 11:20 AM, Ben Medina wrote:
> Thanks! Here are the results:
>
> - Using the VS2010
Thanks! Here are the results:
- Using the VS2010 generator, the project files have relative paths.
VS2012RC can load 2010 project files without modifying them. If I do
this, compilation of individual files is successful.
- Using the VS11 generator, the project files have absolute paths, and
compi
Thanks for the suggestion. Unfortunately, CMAKE_USE_RELATIVE_PATHS
seems to have no effect for this generator.
- Ben
On Tue, Jun 12, 2012 at 2:21 AM, Brett Delle Grazie
wrote:
> On 12 June 2012 00:21, Ben Medina wrote:
>> Has anyone tried the Visual Studio 2012 beta with CMake&
Thanks for checking. Full project builds work fine for me; it's just
individual file compilations in the IDE that fail.
- Ben
On Tue, Jun 12, 2012 at 8:40 AM, Brad King wrote:
> On Mon, Jun 11, 2012 at 7:21 PM, Ben Medina wrote:
>> Has anyone tried the Visual Studio 2012 bet
t; On 06/11/2012 07:21 PM, Ben Medina wrote:
>> Has anyone tried the Visual Studio 2012 beta with CMake's "Visual
>> Studio 11" generator? I've tried with several projects, and even a
>> simple project that just contains main.cpp has the same problem:
>> c
Has anyone tried the Visual Studio 2012 beta with CMake's "Visual
Studio 11" generator? I've tried with several projects, and even a
simple project that just contains main.cpp has the same problem:
compiling a single file does not work. Instead, I get this in the
output window:
1>Error: Cannot bui
This works for me with CMake 2.8.8 and VS2010. I have this in my CMakeCache.txt:
CMAKE_SUPPRESS_REGENERATION:BOOL=ON
And the ZERO_CHECK target does not appear.
Which version of CMake are you using? I vaguely recall that this
feature was broken a few releases back.
- Ben
On Fri, Jun 1, 2012 at
Yes, that's exactly it. I'll try to add something to the wiki.
On Wed, Jan 11, 2012 at 6:01 AM, Eric Noulard wrote:
> 2012/1/11 Robert Dailey :
>> He probably just uses a project.vcproj.user file, and uses the
>> configure_file() command on it to fill in command arguments, environment
>> variable
I'd guess the performance of fixup_bundle will be a big pitfall if
you're planning on doing this after every build.
An entirely different approach is to configure a Visual Studio .user
file to set the PATH environment variable (not setting it globally;
just for debugging your app from within VS).
Qt also provides qtmain.lib to resolve the need for WinMain, in case
you run into that linker error.
On Wed, Nov 30, 2011 at 4:26 PM, David Cole wrote:
> On Wed, Nov 30, 2011 at 6:51 PM, Renato Utsch wrote:
>> Hello CMake guys...
>>
>> Well, I was writing a portable program using CMake that uses
, 2011 at 9:00 AM, David Cole wrote:
> On Wed, Oct 26, 2011 at 11:56 AM, Ben Medina wrote:
>> David,
>>
>> Yes, adding "call" to the front of the command works. Thanks! Would be
>> great to get that fixed for 2.8.7, as I spent a good portion of
>> yesterda
t;call " to the front of the command works in this
> case.
>
> Thanks,
> David
>
> On Tue, Oct 25, 2011 at 5:30 PM, Ben Medina wrote:
>>
>> Hello all,
>>
>> I'm trying to build Boost as an external project, but it won't build
>> if
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)
When would this behavior be
desirable?
On Mon, Sep 26, 2011 at 10:37 AM, Ben Medina wrote:
> John is right. The external project may be at the bottom of a chain of
> (my own) project dependencies. I need to preserve the ability to
> easily rebuild just my projects (and their depe
Hello all,
We're using NSIS via CPack for our Windows installer. One thing we'd
like to change is the "Start in" directory for Windows Start menu
shortcuts. Currently, it appears to default to the installation
directory, but that's not very useful: users aren't going to be saving
files underneath
Excellent! Preliminary VS11 support makes me very happy.
On Tue, Oct 4, 2011 at 12:30 PM, David Cole wrote:
> On behalf of myself, Ken, Bill, Brad, Alex, Zach, Ben and the rest of
> the CMake team from all around the world, we are pleased to announce
> that CMake 2.8.6 is now available for downlo
It's the same as "make clean; make", so it's not just a Visual Studio thing.
On Mon, Sep 26, 2011 at 10:45 AM, Rolf Eike Beer wrote:
> Am Montag, 26. September 2011, 10:37:57 schrieb Ben Medina:
>> John is right. The external project may be at the bottom of a
l see where I'm coming from.
Perhaps I need to file a feature request on Mantis.
On Sat, Sep 24, 2011 at 2:32 AM, John Drescher wrote:
> On Sat, Sep 24, 2011 at 4:11 AM, Rolf Eike Beer wrote:
>> Am Freitag, 23. September 2011, 16:26:46 schrieb Ben Medina:
>>> Hello all,
Hello all,
I'm trying to adopt greater usage of ExternalProject in my project.
One problem I'd like to resolve is spurious rebuilds of external
projects.
For example, I'd like to build CLAPACK as an external project, so I do
something like this:
ExternalProject_Add (clapack
URL ${tarball_loc
On Sat, Sep 10, 2011 at 9:10 AM, Erik Johansson wrote:
> How does one get cmake to run the unit test as part of the build so that:
> - If the unit test fails, the build fails.
> - If the unit test has failed, and make is run again, the unit test
> will run again.
> - If the unit test has succeede
So that the answer stays on the list:
One must use the STATIC_LIBRARY_FLAGS property, rather than
LINK_FLAGS, for static libraries.
On Tue, Jun 21, 2011 at 3:12 PM, Ben Medina wrote:
> Since I got no feedback, I assume it's a bug. I've filed it here:
>
> 0012295: LINK_F
Since I got no feedback, I assume it's a bug. I've filed it here:
0012295: LINK_FLAGS_RELEASE has no effect on static libraries for MSVC
generators
http://www.cmake.org/Bug/view.php?id=12295
On Mon, Jun 13, 2011 at 11:50 AM, Ben Medina wrote:
> Hello all,
>
> I'm
Hello all,
I'm using CMake 2.8.4 and am seeing an odd differenc between static
and shared libraries in regard to the LINK_FLAGS property. In
particular, I'm enabling "Whole program optimization" in Visual Studio
2010, which is done by add /GL as a compiler flag and /LTCG as a
linker flag for the r
These settings are stored in a separate "user" file, rather than in
the main vc[x]proj file. So one solution is to have CMake create the
user file for you with whatever settings you want. We are doing this
via configure_file, using a generic user file as a template.
- Ben
On Tue, Jan 11, 2011 at
uot;)
> foreach(match ${matches})
> message("match='${match}'")
> endforeach()
>
>
>
> On Mon, Jan 10, 2011 at 5:38 PM, Fraser Hutchison
> wrote:
>>
>> I think if you remove the double "\\" it should work, i.e. use:
>>
ze "\s" for white space. Try "[
> \\t\\n\\r]" instead of \\s.
>
> But. watch out for white space after "(" and before ")" too. You might
> miss some lines if they have spaces there.
>
>
> On Fri, Jan 7, 2011 at 2:55 PM, Ben Medina wro
I need to parse a C++ file for Google Test macros. (I'm aware the
GTEST_ADD_TESTS provided by FindGtest.cmake, but I need the test list
for my own purposes). I had been using a regex similar to the one in
GTEST_ADD_TESTS to match tests:
string (REGEX MATCHALL "TEST_?F?\\([A-Za-z_0-9 ,]+)\\)" found
.
>
> It's all sort of roll-your-own, though. There's no other existing
> support to my knowledge...
>
>
>
> On Fri, Dec 31, 2010 at 2:03 PM, Ben Medina wrote:
>> Hello all,
>>
>> My project is sprouting new executables, and the simple use case
Hello all,
My project is sprouting new executables, and the simple use case of
using fixup_bundle is no longer sufficient. At the moment, I have:
1. A Qt-based gui application.
2. A command line application.
Both of these apps share common 3rdparty library dependencies (boost,
Qt, etc.). And I an
asonable given the benefit
> that fixup_bundle provides. As always, I'm open to discussion and
> suggestions if anybody has ideas for improving BundleUtilities.
>
>
> HTH,
> David
>
>
> On Mon, Dec 20, 2010 at 6:44 PM, Ben Medina wrote:
>>
>> Hello
Hello all,
I'm using fixup_bundle as part of my installation rules. One problem
I've run into is that if you build the install target multiple times,
fixup_bundle (or, more specifically, copy_resolved_item_into_bundle)
won't copy a library over if it's coming from the same location. This
causes a
Note that recent versions of gtest come with a CMakeLists.txt, so you
can just use add_subdirectory on the gtest source tree.
- Ben
On Wed, Dec 1, 2010 at 7:59 AM, Kevyn-Alexandre Paré
wrote:
> Philip,
>
> Thx for the reply. Neither of these solutions change a thing.
>
> I try to play with ADD_C
Hi all,
In our builds, we use custom targets to copy library headers to an
include directory from which clients of the library then #include
from. This works for VS2008 but is broken in VS2010 (using CMake 2.8.3
rc3).
Here is a small example:
---
CMakeLists.txt:
-
CMake has explicit support for this, rather than using a prefix (which
doesn't work in VS2010):
http://www.cmake.org/Bug/view.php?id=9163
- Ben
On Mon, Aug 9, 2010 at 12:50 PM, Keith Gardner
wrote:
> What you need to do to get rid of the Debug/Release directories is set the
> prefix property fo
Sorry, meant to keep this on the list.
- Ben
-- Forwarded message --
From: Ben Medina
Date: Mon, Aug 9, 2010 at 12:45 PM
Subject: Re: [CMake] Eliminate Debug/Release directories and name
executables based on configuration
To: James Ihrig
I believe this is what the
Right, that's bug 0010481, for which we're waiting a fix. We also are
waiting on 10502 and 0010589. There seems to be some disconnect ,
because 0010481 is marked as new and unassigned, but you guys have
already fixed it.
I'm curious if any of the Kitware folks have tried building ParaView
with VS2
We've struggled with the same issue, and for out latest project, we've
switched to using fixup_bundle to handle the installation of 3rd party
lib dependencies, rather than copying them into the build tree as a
build step.
To ensure that developers can still easily launch the app for
debugging, on
Hello all,
I have a Qt-based Mac app that I build with CMake. I run fixup_bundle
on it to copy all pre-requisites over during the install step.
However, when I double-click on the .app, the application does not
launch. It's icon bounces a few times in the dock, then goes away with
no errors. If I
, Ben Medina wrote:
> Hello all,
>
> I am trying to package an app on the Mac into an app bundle. This app
> depends on Qt and ParaView, so I have code like this:
>
> # directories to look for dependencies: Qt, ParaView/VTK
> set(DIRS "${QT_LIBRARY_DIRS};${PARAVIEW_LIBR
Hello all,
I am trying to package an app on the Mac into an app bundle. This app
depends on Qt and ParaView, so I have code like this:
# directories to look for dependencies: Qt, ParaView/VTK
set(DIRS "${QT_LIBRARY_DIRS};${PARAVIEW_LIBRARY_DIRS}")
install(CODE
"
inclu
ght at that time, including the info.plist - you can then use this
> with DragNDrop to have a DMG containing one or more app bundles for easy
> install.
>
> Ryan
>
> On 04/19/2010 07:04 PM, Ben Medina wrote:
>>
>> Hello all,
>>
>> I'm using the CP
Hello all,
I'm using the CPack Bundle generator to package my application on the
Mac (assuming this is preferable to the DragNDrop generator according
to http://www.cmake.org/Wiki/CMake:CPackPackageGenerators). One
requirement is providing an Info.plist file, but I don't know what
information is r
Hi Mike,
I would be interested in taking a look at your git repo. Where is it located?
Thanks,
Ben
On Fri, Apr 16, 2010 at 7:36 AM, Michael Jackson
wrote:
> Lets take a deeper look at what is needed for an OS X bundle, cmake and Qt.
>
> The issues with making an OS X app bundle "relocatable" a
argument
>
> It seem somehow related to some kind of tar version or content:
>
> for example it happened to me also getting the latest pycrypto
> http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.1.0.tar.gz
>
> Probably we should issue a bug
>
> HTH
>
> Ben Me
I'm trying to get ExternalProject_Add to work, using a tar.gz file as
the source. My experiment thus far is with boost, and my code looks
like this:
include (ExternalProject)
set (boost_libs_to_build program_options)
ExternalProject_Add(
boost
URL
http://sodium.resopho
On Wed, Feb 17, 2010 at 7:39 AM, Bill Hoffman wrote:
> CMake 2.8.1 RC 3 is ready to try:
>
> http://www.cmake.org/files/v2.8/?C=M;O=D
>
> Please try your projects with it. If you find any issues, let me know. I
> think we are getting very close to the actual release. Pretty much
> regressions o
Hello,
I'm doing some testing of VS 2010 B2 with CMake 2.8.0, and I've run
into several problems:
1. CMAKE_CFG_INTDIR is set to $(ConfigurationName), a macro which no
longer exists in VS 2010. According to the CMake docs
(http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_CFG_INTD
53 matches
Mail list logo