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 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 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
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
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
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
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
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
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
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
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 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
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 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
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 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
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
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 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
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
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
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.
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: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 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 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 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 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 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 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 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 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++
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 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
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 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
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
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
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
Just a small piece of feedback. All the other Visual Studio generators are
in order, ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10
below VS 9. Was there a specific reason for putting VS 10 above VS 6 and thus
out of order?
Maybe the combo box is sorted?
John
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Fri, Dec 31, 2010 at 9:42 AM
Subject: Re: [CMake] Disabling exceptions and rtti on VS
To: Óscar Fuentes o...@wanadoo.es
On Fri, Dec 31, 2010 at 9:27 AM, Óscar Fuentes o...@wanadoo.es wrote:
If /EHs- /EHs-c
TARGET_LINK_LIBRARIES(hybridnccsurfacecoloring bundler imagelib matrix
mathlib
5point libsba libepnp
sfm libDescriptors f2c minpack lapack ann)
if(WIN32)
TARGET_LINK_LIBRARIES(hybridnccsurfacecoloring getopt jpeg)
endif(WIN32)
I do not think
-- Forwarded message --
From: Avanindra Singh avanindra.si...@gmail.com
Date: Sat, Jan 8, 2011 at 9:31 AM
Subject: Re: [CMake] TARGET_LINK_LIBRARIES not working for MSVC
To: John Drescher dresche...@gmail.com
Hi john,
Thanks for the reply.Multiple TARGET_LINK_LIBRARIES
did
On Sat, Jan 8, 2011 at 10:17 AM, Avanindra Singh
avanindra.si...@gmail.com wrote:
Hi Eric,
Thanks for the reply. It was very useful. I incorporated the changes you
mentioned. I removed all the link_libraries macros
from the projects. Also I changed camke_minimum_version to 2.6 . I have
CMake
On Sat, Jan 8, 2011 at 7:55 PM, Nico Schlömer nico.schloe...@gmail.com wrote:
Quick question here:
I have a couple of libraries here which all need NetCDF, so I was
thinking the cleanest solution would be to write one FindNetCDF.cmake
and use it everywhere. What's the policy of including
I would like the add the CMake approach for software generation to a
project. My project example supports also other build tools.
This has got consequences on the way how informations like version numbers
are shared between these approaches.
The CMake tutorial describes components for the
I mean the option -G to specify the target build system. In my cmake 2.8.3
there is only MSVC 2008. Or d oyou refer to the latest development version
of cmake?
That supports VC2010 as well.
John
___
Powered by www.kitware.com
Visit other Kitware
On Tue, Jan 18, 2011 at 1:17 PM, Bill Hoffman bill.hoff...@kitware.com wrote:
On 1/18/2011 1:07 PM, Hendrik Sattler wrote:
What I meant to say: the .NET in the name is not important, being it the
official product name or not. 7/8/9/10 or [.NET] 2003/2005/2008/2010, who
cares.
I find it more
I am getting a the following error:
CREATING X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers
CMake Error at CMake/GetQtRuntime.cmake:21 (file):
file problem creating directory:
X:/CMakeBased/Qt/StudyManager/X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers
Call Stack (most recent call
You don't need those backslashes there. Try:
file( MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers )
That solved the issue.
The reason for my error (besides the headache that I have at the
moment) was that I copied the line from the the next line in the macro
which needs to put
On Tue, Feb 1, 2011 at 5:36 PM, Maarten Nieber hallomaar...@yahoo.com wrote:
Hi John,
thanks, but that only works one level deep, right? If you have a structure A
- B - C, then C will always inherit all of A, regardless of where in B's
CMakeList you put the ADD_SUBDIRECTORY.
No it depends
On Wed, Feb 9, 2011 at 2:30 PM, Robert Bielik robert.bie...@xponaut.se wrote:
Louis Hoefler skrev 2011-02-09 19:41:
Hello everyone,
i created cmake files for a visual studio solution.
The solution compiles, and now I want to
start debugging the testapplication.
I want to change the command
On Fri, Feb 11, 2011 at 9:16 AM, Ilja Golshtein ilej...@narod.ru wrote:
Hello!
I use a product which (depending on installation type) can keep headers in
several directories.
What is the best way to specify these directories?
Do I have better option than variables
it is what I want.
But how?
How can I put all the directories in EXTERNAL_PRODUCT_INCLUDES from cmake
command line?
I do not know. Sorry. I did not see that you were trying to add these
via the command line. I never use that mode of cmake.
John
apologies for the stupid question. I have a large project and at times a
change triggers unexpected consequences, i.e. very large recompilations,
rebuild of the cmake makefiles and so on. Is there a way in cmake to
understand why things happens? I mean which chain of dependencies causes
101 - 200 of 507 matches
Mail list logo