On Thu, Dec 23, 2010 at 11:18 AM, Stormwind Dev
stormwind@googlemail.com wrote:
Dear List,
I've got a question on copying some files from one directory to another
using CMake.
Let's say, I got some libraries collected in a special directory. I want
CMake to copy these libs to the
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Thu, Dec 23, 2010 at 12:03 PM
Subject: Re: [CMake] Copying some files using CMake
To: Stormwind Dev stormwind@googlemail.com
On Thu, Dec 23, 2010 at 11:53 AM, Stormwind Dev
stormwind@googlemail.com
Haven't been following this thread closely, but changing the handling of
/INCREMENTAL is a pain, at least in VS 2005 and 2008. Here is some code
we use to *disable* /INCREMENTAL. With a little creativity, you could
probably use this to forcibly *enable* /INCREMENTAL :):
Thanks. I look into
On Thu, Dec 9, 2010 at 2:47 PM, Bill Hoffman bill.hoff...@kitware.com wrote:
On 12/9/2010 12:32 PM, John Drescher wrote:
Haven't been following this thread closely, but changing the handling of
/INCREMENTAL is a pain, at least in VS 2005 and 2008. Here is some code
we use to *disable
I'll start the ball rolling by saying that, personally, I like the bug
tracker. I find it much easier to keep a list of issues organized and
accessible than I can with email filters and folders. But I still see
a need for both tools.
What do you say?
I like the current system. Especially
Providing /INCREMENTAL:YES VS2010 linker complains that this is
deprecated and still does a FULL link.
This is normal behavior in Visual Studio for the first build since
there was no previous full. Did you try modifying a file after it
built and building again without cleaning?
John
On Tue, Dec 7, 2010 at 2:14 PM, Paul Dean aquawic...@hotmail.com wrote:
I've been using CMAKE for a few years now and I absolutley LOVE it.
It makes my life as a programmer so much easier to be able to generate
project files on any platform.
What hurts is doing the reverse. I can't count how
And without the
goal of switching from qmake to cmake, I don't see any point in doing a
conversion in the first place - after all qmake can build the project on
all interesting platforms already (else it would've been replaced).
The reason I want this is there are a few QMake based libraries
On Mon, Nov 29, 2010 at 1:35 PM, tibur tiburti...@gmail.com wrote:
Hello.
Our team uses the same Windows (VS) Qt build, but all the developers don't
store it at the same place on their hard drive. So qmake.exe doesn't contain
the good include, library, ... directories.
On the FindQt4.cmake
On Mon, Nov 29, 2010 at 1:42 PM, John Drescher dresche...@gmail.com wrote:
On Mon, Nov 29, 2010 at 1:35 PM, tibur tiburti...@gmail.com wrote:
Hello.
Our team uses the same Windows (VS) Qt build, but all the developers don't
store it at the same place on their hard drive. So qmake.exe doesn't
On Mon, Nov 8, 2010 at 4:09 PM, Stormwind Developer
stormwind@googlemail.com wrote:
Greetings,
I am a complete beginner to CMake, so my problem might be trivial.
Nevertheless I did not find a solution yet.
I am running Windows XP in a virtual machine on a linux host system. Having
CMake
So, the question is actually:
Is there a way to have CMake automatically add included headers to visual
studio project files or do you need to use a dependency system to generate
the lists by hand?
Take a look at this:
On Thu, Nov 4, 2010 at 11:58 AM, Oliver kfsone Smith osm...@playnet.com wrote:
Checked the faq and googled as much as I could but I couldn't find anything
describing how to make visual studio include header files in the
solution/project files?
Add them to the target just like you do C++
On Fri, Oct 29, 2010 at 8:57 PM, John Drescher dresche...@gmail.com wrote:
On Fri, Oct 29, 2010 at 8:17 PM, Karl Wallner cm...@karlwallner.de wrote:
Am 30.10.2010 00:45, schrieb John Drescher:
I know its probably too late for 2.8.3 but can someone please look at
the following bug:
http
On Fri, Oct 29, 2010 at 6:03 PM, David Cole david.c...@kitware.com wrote:
The CMake 2.8.3 release candidate stream continues!
You can find the source and binaries here:
http://www.cmake.org/files/v2.8/?C=M;O=D
EXCEPT: There are not yet Irix or Sun pre-built binary
installers available for
I know its probably too late for 2.8.3 but can someone please look at
the following bug:
http://cmake.org/Bug/view.php?id=11206
This affects me on every single (in house) release of my application.
A workaround is to do a monolithic install.
SET(CPACK_MONOLITHIC_INSTALL 1)
...
On Fri, Oct 29, 2010 at 8:17 PM, Karl Wallner cm...@karlwallner.de wrote:
Am 30.10.2010 00:45, schrieb John Drescher:
I know its probably too late for 2.8.3 but can someone please look at
the following bug:
http://cmake.org/Bug/view.php?id=11206
This affects me on every single (in house
On Thu, Oct 28, 2010 at 8:23 AM, Dominik Gabi dkgis...@gmail.com wrote:
On Wed, 2010-10-27 at 10:54 -0500, Ryan Pavlik wrote:
On Wed, Oct 27, 2010 at 9:04 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Thanks. The way I understand this is that now instead of
On Thu, Oct 28, 2010 at 8:29 AM, John Drescher dresche...@gmail.com wrote:
On Thu, Oct 28, 2010 at 8:23 AM, Dominik Gabi dkgis...@gmail.com wrote:
On Wed, 2010-10-27 at 10:54 -0500, Ryan Pavlik wrote:
On Wed, Oct 27, 2010 at 9:04 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Thanks. The way I
On Wed, Oct 20, 2010 at 12:05 PM, Prathamesh Kulkarni
prathameshmkulka...@gmail.com wrote:
Hello all,
I want to interface VTK and ITK. Hence I copied the required 4 files (2 txx
and 2 cpp) in InsightApplications/Auxilliary/vtk to a common source
directory which I want to include in all my
On Wed, Oct 20, 2010 at 12:19 PM, Prathamesh Kulkarni
prathameshmkulka...@gmail.com wrote:
Okay, could you please suggest an alternative over this issue?
I add each file one by one in variables. The following is from an app
used for unit testing my Qt SQLITE database for my current
application.
On Tue, Oct 12, 2010 at 8:06 AM, Mr Shore shore.cl...@gmail.com wrote:
I'm using cl.exe if that matters,thanks in advance!
CMAKE_CXX_FLAGS_RELEASE is the variable you want.
I believe this will do what you want:
SET(CMAKE_CXX_FLAGS_RELEASE /MT /GS )
John
On Tue, Oct 12, 2010 at 8:58 AM, Mr Shore shore.cl...@gmail.com wrote:
Hi John
Can I restrict the scope so that this setting is only for one specific
target?
If the targets are in their own subdirectory yes. Just set the
variable in the CMakeLists.txt file in that target after all
On Mon, Oct 11, 2010 at 9:32 AM, Fred Fred stan1...@hotmail.fr wrote:
Hello,
I suppose this question has already been asked here but I did not find any
trace of it, including in the wiki.
My students want to install PV at home and they need to build it from source
in order to extend it.
They
On Fri, Oct 8, 2010 at 12:50 PM, aaron.mead...@thomsonreuters.com wrote:
Seems to work correctly from my tests:
CMakeLists.txt:
cmake_minimum_required (VERSION 2.8)
project(test CXX)
message( STATUS CMAKE_GENERATOR: ${CMAKE_GENERATOR})
message( STATUS CMAKE_CL_64: ${CMAKE_CL_64})
On Fri, Oct 1, 2010 at 2:57 PM, John Drescher dresche...@gmail.com wrote:
I just hit Build Solution which caused ZERO_CHECK project to run because
my CMakeLists.txt file had changed. ZERO_CHECK ran CMake which attempted to
generate a new solution. Typically this results in a good new project
CMake iterates over the Windows running object table (a COM thing) to find
Visual Studio instances to ping to call the reload macro. When something is
dead and stuck in the running object table (which happens occasionally, but
thankfully not frequently) then CMake hangs in that iteration loop
On Tue, Oct 5, 2010 at 2:59 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote:
hello.
I have a cmake+qt4 project, I needed to extend a certain gui item to suit my
needs, I've been able to insert it into qtcreator and incorporate it into the
project's gui, now when I run compilation, I get this:
On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote:
nope, like I wrote in the first post, I need a string spinbox so I've
extended qspinbox to support strings.
that is the custom widget in question.
You need to add the path of where ever your custom widget is into one
On Mon, Oct 4, 2010 at 5:15 PM, Mateusz Loskot mate...@loskot.net wrote:
On 04/10/10 14:24, Michael Hertling wrote:
On 10/04/2010 10:53 AM, Mateusz Loskot wrote:
On 04/10/10 07:33, J Decker wrote:
CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like
'project supports multiple
On Fri, Oct 1, 2010 at 2:21 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Friday 01 October 2010 schrieb John Drescher:
On Thu, Sep 30, 2010 at 7:47 PM, James Bigler jamesbig...@gmail.com wrote:
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler jamesbig...@gmail.com
wrote:
I'm currently using VS
I just hit Build Solution which caused ZERO_CHECK project to run because
my CMakeLists.txt file had changed. ZERO_CHECK ran CMake which attempted to
generate a new solution. Typically this results in a good new project and
the VS plugin detects this and asks me to load the new project files.
I use cmake with qt projects for desktop application. Recently I've been
started developing for symbian.
I've found a generator for carbide but I use Qt Creator.
I would like to generate Makefile like qmake does and then build the project
with the Symbian toolchain.
Qmake has also the
On Thu, Sep 30, 2010 at 7:47 PM, James Bigler jamesbig...@gmail.com wrote:
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler jamesbig...@gmail.com wrote:
I'm currently using VS 2008 64 bit with CMake 2.6.3.
This also happens with 2.8.3 RC1.
That is good. I would be worried if it did not. The
On Thu, Sep 30, 2010 at 7:42 PM, James Bigler jamesbig...@gmail.com wrote:
Is CMake supposed to stop the VS build when configure fails?
Yes.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
I am not exactly sure what you are doing but on all my CMake projects
I put only 1 target at the root level project. All other subprojects
are in subdirectories of the root target. The CMakeLists for these
subprojects can have project names but this is not needed. The
solution gets the name from
On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com wrote:
I tried out CMake 2.8.3 RC1 with my project today. When I modify a
CMakeLists.txt file and compile, the reload project dialog starts up and I
click No for don't start recompiling (because it calls ALL_BUILD instead
of
Am Wednesday 15 September 2010 schrieb David Cole:
find_library always looks for *.lib files on Windows. Those are the ones
that need to be passed to the linker. The *.dll files are the ones that
need to be there at runtime in order to run correctly.
This behavior is intended, by design, and
On Thu, Sep 9, 2010 at 3:06 PM, edA-qa mort-ora-y eda...@disemia.com wrote:
My cmake file has the fairly standard QT setup:
find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtOpenGL
QtMain REQUIRED)
include(${QT_USE_FILE})
and then later use ${QT_LIBRARIES}
However, this
On Sun, Sep 5, 2010 at 1:26 PM, David Doria daviddo...@gmail.com wrote:
I don't see a 64 bit Windows binary here:
http://www.cmake.org/cmake/resources/software.html
Is the link missing? Or does this not exist for some reason?
It does not exist and it is not needed. The 32 bit cmake
I've got this case where I'm using cpack to create nsis packages with a set of
components that I want packaged.
If I run the installer, things work.
But, if I run the installer a second time (without doing an uninstall first),
it doesn't do anything. So, if one had manually removed files,
On Fri, Sep 3, 2010 at 4:36 PM, John Drescher dresche...@gmail.com wrote:
I've got this case where I'm using cpack to create nsis packages with a set
of
components that I want packaged.
If I run the installer, things work.
But, if I run the installer a second time (without doing
I see that behavior too.
So I see this commit introduce that behavior
http://cmake.org/gitweb?p=cmake.git;a=commit;h=83ec8c35933439305895b8569b2125a7e091fc57
And the intention was to only install/remove the minimal
number of files when re-run to update the installation (or by clicking
On Tue, Aug 31, 2010 at 12:01 PM, U.W. Mechatronics Lab
mech...@engr.wisc.edu wrote:
I am having trouble getting any return value from CMAKE_SIZEOF_VOID_P on one
particular Win7x64 machine. If I check out my tree on a different Win7x64
machine it seems to properly return a value of 8. I’m
On Tue, Aug 31, 2010 at 12:17 PM, John Drescher dresche...@gmail.com wrote:
On Tue, Aug 31, 2010 at 12:01 PM, U.W. Mechatronics Lab
mech...@engr.wisc.edu wrote:
I am having trouble getting any return value from CMAKE_SIZEOF_VOID_P on one
particular Win7x64 machine. If I check out my tree
I'm not sure how to do that - the guy that set up our tree/build system has
a batch file written to extract cmake, setup some directories, then call the
cmake gui to configure the tree. What's thoroughly confusing is that this
seems to work properly on my Win7x64 laptop on a W2K8x64 Server -
Yes but this is an issue even before actually compiling code... so VS is not
in the picture at this point in the process.
Yes it is. CMake specifically detects the compiler and uses it to
compile test programs to fills in the information for
MAKE_SIZEOF_VOID_P.
John
Cmake specifically is using Visual Studio 9 2008 Win64 as the generator (via
the cmakegui)
Open a Visual Studio 2008 x64 Win64 Command Prompt. This should
exist in the Tools menu for Visual Studio 2008. Then run your batch
file inside that. If that fails clear the build folder first.
John
On Thu, Aug 26, 2010 at 6:47 AM, Hickel, Kelly kelly_hic...@bmc.com wrote:
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
Behalf Of Mike McQuaid
Sent: Thursday, August 26, 2010 1:12 AM
To: Mark Roden
Cc: cmake@cmake.org
Subject: Re: [CMake]
On Tue, Aug 24, 2010 at 9:57 AM, Oenen, Jodi van
jodi.vanoe...@tass-safe.com wrote:
Hi,
We are migrating an 'old' Make project into the CMake world, and I am
encountering a problem during the link phase of one of our executables: the
linker cannot open a boost library.
I am using CMake
True :)
As I said, I'm just replicating the current Make system, in which those same
32 bit libs are used -- and it works. CMake even adds some extra 32 bit libs
to the command line; I think they are added in Windows-icl.cmake
(CMAKE_C_STANDARD_LIBRARIES_INIT). So I'd say it should also
. I guess those X32.lib libraries are 64 bit, even though the names suggest
otherwise (yay for Microsoft).
I did not know that. Sorry. I admit, I have not looked at the lib
names on my 64 bit builds.
John
___
Powered by www.kitware.com
Visit other
I've tried to configure InsightToolkit-3.16.0 using CMake 2.8.0 and I'm
using Visual c++ 2008 Express Edition. what I did, I just select source
file(InsightToolkit-3.16.0) and binary file and I've got the following
message:
Check for working C compiler: cl
CMake Error: Remove failed on
On Mon, Aug 16, 2010 at 9:53 PM, Tron Thomas tron.tho...@frontier.com wrote:
On 08/16/2010 10:38 AM, Brian Davis wrote:
First off, I don't know the answer to your question, but I am curious how
you are getting CMake to create inherited projects. What are the commands
you are suing to create
when use QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ), moc_main.cxx
will be generated.
then I use #include moc_main.cxx instead of #include main.moc
but ${Generated_MOC_SRCS} can not be added to ADD_EXECUTABLE.
otherwise moc_main.cxx will be compiled too.
I am confused at the problem. I
On Sat, Jul 31, 2010 at 10:50 AM, 1+1=2 dbzhang...@gmail.com wrote:
I want to use command like this:
QT4_GENERATE_MOC(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp main.moc)
but I do not know how to make this run before main.cpp being compiled to
main.o
anyone can help me?
Besides the fact that
On Sat, Jul 31, 2010 at 11:18 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Samstag 31 Juli 2010, 00:59:36 schrieb Stefan Buschmann:
Am 30.07.2010 22:23, schrieb Clark Taylor:
ADD_EXECUTABLE(myApp ${Headers} ${Src})
You should not need to add ${Headers} here (usually only the sources
On Sat, Jul 31, 2010 at 9:05 AM, 1+1=2 dbzhang...@gmail.com wrote:
Thanks for your answer.
when use QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ), moc_main.cxx
will be generated.
then I use #include moc_main.cxx instead of #include main.moc
but ${Generated_MOC_SRCS} can not be added to
On Sat, Jul 31, 2010 at 11:28 AM, John Drescher dresche...@gmail.com wrote:
On Sat, Jul 31, 2010 at 9:05 AM, 1+1=2 dbzhang...@gmail.com wrote:
Thanks for your answer.
when use QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ), moc_main.cxx
will be generated.
then I use #include moc_main.cxx
Please do explain. How would this work? What would the API be? And now it
suddenly sounds like CMake isn't supposed to do everything automagically
anymore. If that is the case, please RTFM and look into the OUTPUT_NAME
target property. It offers exactly what you want!
Or the prefix
I have created a very simple CMake file (I am a newbie) that works
wonderfully in Linux, but am having problems in Windows. The CMakeLists.txt
is below
#I think 2.6 is required for some of things I do below, but I am not sure
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
# This is the CMake file
Hello,I have looked at FindQt4.cmake module for 2.8.2, but I can't find
the code that sets the QT_LIBRARIES variable.Could someone point that
out?Regards
It's in UseQt4.cmake.
HTH
Michael
I am now trying to link against QT debug libariries in the RelWithDebInfo
cmake configuation
It does crash currently with release libs for relwithdebingfo config. If I
link against debug libs, it doesn't crash.
The question is: when config is relwithdebingfo, how can I get
TARGET_LINK_LIBRARIES to pick the debug version of the libs from
QT_LIBRARIES?
I use Qt release libs with my
On Mon, Jul 26, 2010 at 1:00 PM, Olaf van der Spek olafvds...@gmail.com wrote:
Hi,
Where in the source code does the VS generator generate the multiple
configurations?
I believe all of that is in the modules. Its actually pretty easy to
edit. I have modified this on my side several times to
On Mon, Jul 26, 2010 at 2:57 PM, Olaf van der Spek olafvds...@gmail.com wrote:
On Mon, Jul 26, 2010 at 7:07 PM, David Cole david.c...@kitware.com wrote:
grep for CMAKE_CONFIGURATION_TYPES
I'm quite sure adding more configuration types here won't suffice.
IF(NOT CMAKE_NO_BUILD_TYPE AND
On Mon, Jul 26, 2010 at 3:03 PM, Olaf van der Spek olafvds...@gmail.com wrote:
On Mon, Jul 26, 2010 at 9:00 PM, John Drescher dresche...@gmail.com wrote:
You need to add variables and such. I believe that is done in
windows-cl.cmake
I'd like to generate both dynamic and static, x86 and x64
On Mon, Jul 26, 2010 at 4:24 PM, Olaf van der Spek olafvds...@gmail.com wrote:
On Mon, Jul 26, 2010 at 10:12 PM, David Cole david.c...@kitware.com wrote:
Is there a problem with multiple configures / build trees?
No, not at all. We do this all the time. But again, I thought from your
On Mon, Jul 26, 2010 at 4:35 PM, Olaf van der Spek olafvds...@gmail.com wrote:
On Mon, Jul 26, 2010 at 10:31 PM, John Drescher dresche...@gmail.com wrote:
You do not have multiple copies of the source. You have 1 copy of the
source that you build in multiple trees. For me I build 32 and 64 bit
On Mon, Jul 26, 2010 at 4:42 PM, John Drescher dresche...@gmail.com wrote:
On Mon, Jul 26, 2010 at 4:35 PM, Olaf van der Spek olafvds...@gmail.com
wrote:
On Mon, Jul 26, 2010 at 10:31 PM, John Drescher dresche...@gmail.com wrote:
You do not have multiple copies of the source. You have 1 copy
I know that target_link_libraries can be used to link a .lib ,
but how to link a .dll into the project?
You do not link against a .dll in windows ever.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
I know that target_link_libraries can be used to link a .lib ,
but how to link a .dll into the project?
You do not link against a .dll in windows ever.
When you create a .dll there is also a small import lib associated
with the dll. You link with that and when the application starts it
Maybe I am misunderstanding the question or response, but I regularly
link to .dll files using mingw.
On Sat, Jul 24, 2010 at 11:00 PM, John Drescher dresche...@gmail.com wrote:
I know that target_link_libraries can be used to link a .lib ,
but how to link a .dll into the project?
You do
mingw can link using a .dll
I do not have much mingw experience but I have around 15 of windows
and Visual Studio experience. With Visual Studio you absolutely do not
link your application with .dlls. You use import libs with a .lib
extension the same way you do with a static lib. This import
Shouldn't this be done automatically?
No way. Not all users would want that on all platforms that CMake
supports. Also it is very easy to add a single line to your
CMakeLists.txt file..
What about shared vs static lib?
Shared vs static runtime?
x64 vs x86?
You can do all of that similarly
And then what? Having two DLLs with the same name is not going to
work. Same for import or static libs.
It would work fine if the dlls for multiple configurations were not
all dumped in 1 folder. That is how I have used cmake for 2+ years.
John
___
On Thu, Jul 22, 2010 at 4:43 PM, Olaf van der Spek olafvds...@gmail.com wrote:
On Thu, Jul 22, 2010 at 10:41 PM, John Drescher dresche...@gmail.com wrote:
And then what? Having two DLLs with the same name is not going to
work. Same for import or static libs.
It would work fine if the dlls
You _can_ very easily do this if you want. The code is out there in the
wild in the form of macros that can be invoked from CMake that will set all
of this up for you. You just have to look for it (or ask the right person...
)
I do this for my shared libraries although I do not put them
I'm on the other side of that one. I don't know how many _days_ I have
wasted because I linked my debug version with a release version of something
else and had the strangest errors and app crashes. After pulling my hair out
trying to debug something that does not need to be debugged I finally
On Wed, Jul 21, 2010 at 10:45 AM, Michael Xanadu
xanadu.mich...@googlemail.com wrote:
Hi Zack,
there's no VTK_DIR row in my CMake GUI. That's my problem. ;-)
Do you have the advanced option selected in the cmake-gui?
John
___
Powered by
On Tue, Jul 20, 2010 at 2:48 PM, Andreas Pakulat ap...@gmx.de wrote:
On 20.07.10 13:30:51, kent williams wrote:
Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz
Still the same.
Same here. I get a cute image that says Sorry Sam, I can't seem to
find that URL.
John
On Tue, Jul 20, 2010 at 4:09 PM, kent williams
nkwmailingli...@gmail.com wrote:
Thanks. I don't know if you've actually tried the project I put up to
illustrate the project, but while what you say makes sense, it doesn't
appear to fix the problem.
It's frustrating for me; apparently, though
On Tue, Jul 20, 2010 at 5:24 PM, Claus Klein claus.kl...@arcormail.de wrote:
I have a cpp project with some lib targets and executables, which depends on
the libs and the header files.
I want to link the libs from my build/src tree and not the installed
versions.
With this snip below from my
On Wed, Jul 14, 2010 at 10:16 AM, Verweij, Arjen verwe...@tass-safe.com wrote:
Hi,
I’m trying a little F90 example on Windows with cmake. Apparently something
is amiss, but I can’t find much on Google about it; at least not about this
particular case.
All I do is cmake ..\f90example
On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen verwe...@tass-safe.com wrote:
Hi,
You seem to have a path using \ instead of /
Isn't that to be expected of a PATH setting on a Windows computer?
Anyway, the path to the Visual Studio compiler is of the same format and
cmake deals with it
Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what
you expect on a 64-bit computer. Since the CMake binary is by default
32-bit, you need some logic to make sure you're looking where you think
you're looking.
I had that covered. I just shortened the example not to
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
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
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 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?
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
I was using 2.8.1 and previous cmake versions for a long time without
any problems. Also 2.8.2 works for the same project on 64 bin xp.
CMake Error: CMake was unable to find a build program corresponding to
Visual Studio 8 2005. CMAKE_MAKE_PROGRAM is not set. You probably
need to select a
On Tue, Jul 6, 2010 at 12:50 PM, John Drescher dresche...@gmail.com wrote:
I was using 2.8.1 and previous cmake versions for a long time without
any problems. Also 2.8.2 works for the same project on 64 bin xp.
CMake Error: CMake was unable to find a build program corresponding to
Visual
I see, thanks. I intend to write a Python script that adds the extra
platform solution, because we really need that. Visual Studio and
Code::Blocks project files are XML files, so it shouldn't be too hard.
What is wrong with different build folders for each compiler / ide?
John
I have recently created a CMake project that I use to generate Visual Studio
solutions/projects and it works perfectly with one exception.
After generating a Visual Studio 9 2008 Win64 solution, the solution
contains only the x64 build specification. Is it possible to have CMake add
the
1. Is cmake supposed to support Visual Studio 2008 out of the box?
Yes and it works well. I use this combination every day for the last 2 years.
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
On Mon, Jun 21, 2010 at 9:59 AM, Gerry Weaver ger...@compvia.com wrote:
Hello All,
Thank you for your replies.
The cmake command fails when trying to compile the test file. It says it
cannot find kernel32.lib. I can compile and link without cmake just fine.
Any ideas?
Thanks,
-G
Try
On Thu, Jun 17, 2010 at 3:16 PM, Scott Johnson
scott.john...@neuwave.com wrote:
On a whim I totally changed the path to a different drive and naming
structure and tried again. I was able to fully configure and generate the
solution. Even after I set the options I was originally trying.
On Tue, Jun 8, 2010 at 2:52 PM, Torri, Stephen CIV NSWCDD, W15
stephen.to...@navy.mil wrote:
I was wondering if it was possible to have a CMake project that builds a
Microsoft Visual Studio Project produce an NSIS installer for each kind of
build (e.g. debug, release, RelWithDebug). Right now
201 - 300 of 507 matches
Mail list logo