On Mon, Jul 20, 2009 at 12:05 PM, Robert Daileyrcdai...@gmail.com wrote:
Thanks for the response Bill.
I guess I could always use CodeBlocks MinGW.
Sincerely,
Robert Dailey
How about a single source folder that is shared between two binary out
of source builds. One for Visual Studio and the
On Sat, Jul 25, 2009 at 7:20 PM, alexis
lameirealexisis-pristont...@hotmail.com wrote:
Hi, I've spent weeks and weeks to solve this problem, but I haven't got any
solution yet. that's why I need your help. My project uses gettext for
localization, and cmake for build. I'd like to set a make
thenks
i have try it but i have this error when i make
CMakeFiles/update_pot.dir/build.make:50: *** les commandes commencent avant
la première cible. Arrêt.
make[2]: *** [CMakeFiles/update_pot.dir/all] Erreur 2
make[1]: *** [CMakeFiles/update_pot.dir/rule] Erreur 2
make: *** [update_pot]
On Wed, Jul 29, 2009 at 10:39 AM, John Drescherdresche...@gmail.com wrote:
On Wed, Jul 29, 2009 at 10:27 AM, panter.dsdpanter@gmail.com wrote:
On Wednesday 29 of July 2009 18:19:38 Michael Jackson wrote:
You probably need to add an include_directories() command that
points to where ever
On Wed, Jul 29, 2009 at 10:27 AM, panter.dsdpanter@gmail.com wrote:
On Wednesday 29 of July 2009 18:19:38 Michael Jackson wrote:
You probably need to add an include_directories() command that
points to where ever the moc_XXX.cpp file can be found.
On Wed, Jul 29, 2009 at 10:48 AM, panter.dsdpanter@gmail.com wrote:
So how do I do?
I would create a bug report for this with a small example (not your
whole application).
In the past I just converted code like this to use a separate header
for the private class as a workaround.
--
John
On Wed, Jul 29, 2009 at 10:52 AM, Bill Hoffmanbill.hoff...@kitware.com wrote:
panter.dsd wrote:
CMake does not generate moc_XXX.cpp. When compiling the generated file
moc_XXX.cxx, but I need the cpp.
I think you might want to not use #include with cpp when using Cmake, and
that should fix
On Thu, Jul 30, 2009 at 11:44 AM, j sj.s4...@gmail.com wrote:
By default visual studio uses 2 threads on my machine, a dual core AMD.
I notice when I have RUNTESTS (I can't remember) enabled, it may attempt to
run the tests before my project is even built.
If certain sub directories depend
On Thu, Jul 30, 2009 at 2:16 PM, j sj.s4...@gmail.com wrote:
I guess I won't be using the parallel option in Visual Studio, then.
I have found it rare to have issues like this even on quad core
machines but it does happen. I build on 5 or so different machines
from 2 to 4 cores.
A
On Thu, Jul 30, 2009 at 2:44 PM, j sj.s4...@gmail.com wrote:
Going into the build configuration and telling it to run tests, (I think the
checkbox is RUNTESTS, but I don't have my laptop here), causes it to run
tests as it is trying to compile the main executable for my project.
The directory
On Fri, Jul 31, 2009 at 11:57 AM, John Drescherdresche...@gmail.com wrote:
On Fri, Jul 31, 2009 at 11:50 AM, Charl Bothac.p.bo...@tudelft.nl wrote:
Dear John,
Thanks for the rapid response!
2009/7/31 John Drescher dresche...@gmail.com:
Yes, they do. I have done this on XP64 and windows 7
On Thu, Aug 6, 2009 at 2:34 PM, MLmailingli...@mailnewsrss.com wrote:
Hi All,
Can CMAKE use Pre-compiled headers now? I thought that I recalled their
being an issue at some point, not sure.
Can anyone shed some light?
I do this for my Visual Studio builds with a macro.
On Thu, Aug 6, 2009 at 2:07 PM, Clinton Stimpsonclin...@elemtech.com wrote:
Bill Hoffman wrote:
James Bigler wrote:
I've just been bitten hard by this issue (many hours of frustration while
attempting to run a demo application that should have Just Worked (TM) ).
According to this page:
On Thu, Aug 20, 2009 at 5:25 PM, MLmailingli...@mailnewsrss.com wrote:
Hi All,
I need to use a pre-compiled header.
I think that I recall that CMake is not yet equipped to handle this.
I found thought a Google search that SET_SOURCE_FILES_PROPERTIES might be
the way to go.
Has anyone
On Thu, Aug 20, 2009 at 5:25 PM, MLmailingli...@mailnewsrss.com wrote:
Hi All,
I need to use a pre-compiled header.
I think that I recall that CMake is not yet equipped to handle this.
I found thought a Google search that SET_SOURCE_FILES_PROPERTIES might be
the way to go.
Has anyone
So, if you compiled to C:\Qt\4.5.1 then you have a couple of options:
set QTDIR to C:\Qt\4.5.1 in the environment variables.
OR
find_package(Qt4 PATHS C:/Qt/4/.5.1) like Pau suggested.
If you don't like the version number on there then recompile Qt 4.5.1 so
that it has a path of C:\Qt
On Fri, Aug 21, 2009 at 6:54 PM, MLmailingli...@mailnewsrss.com wrote:
Hi John,
Has anyone implemented PCH and have an example, advice, etc?
There is also
http://www.vtk.org/Bug/view.php?id=1260
Can you demonstrate how to use this link? I downloaded the
PCHSupport_26.cmake and I dont see
On Tue, Aug 25, 2009 at 9:06 AM, Pol Monsó IRIpmo...@iri.upc.edu wrote:
Hello cmake users!
I'm quite new to cmake as well as makefiles, and i've bumped the same
trouble twice. I'm trying to break a source code into several libraries and
a main program. The scenario has one main executable
On Tue, Aug 25, 2009 at 12:56 PM, Xiangyun Kongxyk...@yahoo.com wrote:
Thanks. After I use the new generator, it always looks for the 32 bit
cl.exe at vc_root/VC/bin,
and complain that the cl.exe does not work, even though I set the
PATH as vc_root/VC/bin/x86_amd64.
I used to use NMake
On Thu, Aug 27, 2009 at 8:55 AM, Eike
Kroemereike-michael.kroe...@atlas-elektronik.com wrote:
Hi Marcel, Christian,
Am 08/27/2009 01:30 PM Marcel Loose wrote:
I think the only safe and reliable way to do this is create several
build directories, e.g. build/type_1 and build/type_2.
When
On Fri, Aug 28, 2009 at 12:57 PM, Aditya
Herlambangaditya15...@hotmail.com wrote:
Hello,
I am really a total noob in this CTest stuffs, I read the documentation and
it says that I need to use the ADD_TEST method to test an executable right?
the format is the following:
ADD_TEST(test1
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Fri, Aug 28, 2009 at 1:53 PM
Subject: Re: [CMake] generating CTest tests
To: Alex H aditya15...@hotmail.com
On Fri, Aug 28, 2009 at 1:38 PM, Alex Haditya15...@hotmail.com wrote:
Hello,
In the ADD_TEST
On Fri, Aug 28, 2009 at 2:07 PM, Alex Haditya15...@hotmail.com wrote:
Hello,
My problem is actually really simple I have a .cpp file and the program just
basically take an int as an argument, if the argument is from certain
numbers it returns a 1 otherwise 0.
Now I need to create a unit test
I have the following command in my CMakeLists.txt and I run the test using
the command ctest -VV -R test. However the test results doesn't print
anything that I defined on the test code, it just shows the test passed.
add_test(test ../build/gbc 0.1 0.3 0.5 0.7 0.9)
That is all it is supposed
Well problem is why doesn't it print the std::cout that I've put inside
main? while it's running main
I believe not printing any stdout from your application is intentional
so not to interfere with the CTest output. I prefer it this way. There
could be a way to activate this, I do not know.
On Thu, Sep 3, 2009 at 2:13 PM, Dean Inglisdean.ing...@camris.ca wrote:
Hi,
I originally posted this thread to kwwidgets, but have
not had much success and perhaps this is a cpack/cmake
issue Im having.
I¹m building stand alone applications using VTK, ITK, GDCM, KWWidgets and I
I'm
The fix is to rebuild everything with the same version (SP) of visual
studio. A single exe should not have more than one of these things in it.
If it does then you have to do the redist thing. If it only has one, which
is possible, then you can ship the libraries and not have to install
On Wed, Sep 9, 2009 at 2:52 PM, Mike Jackson
mike.jack...@bluequartz.net wrote:
I tried the following:
Open the Visual Studio 2008 Command Prompt
Navigate to my project.
CMake -G Visual Studio 9 2008 ../
and I get the error that says the C compiler can not compile a simple
test
On Wed, Sep 9, 2009 at 3:22 PM, Mike Jackson
mike.jack...@bluequartz.net wrote:
And just to follow up, all I had to do was Add Components to the
already installed VC++ tools to add the Visual C# package and now it
looks like I am in business.. Sorry for the noise.
Actually thanks. I am not
I'm working with ubuntu 9.04
I compiled QT(4.5.2) doing ./configure, make, make install.
Then I downloaded cmake (2.6.4) : sudo apt-get install cmake
Now I downloaded the sources of VTK(5.4.2) and VTK Data and I want to
compile it.
I want to use VTK with QT.
so I go in the folder where I
So assuming that I wanted my CMakeLists.txt file to modify the default
install location, but allow the user to change this, wouldn't I do something
like:
set( CMAKE_INSTALL_PREFIX
${CMAKE_CURRENT_BINARY_DIR}
CACHE PATH installation path
)
This doesn't work - I assume that this is
Looks like the default for CMAKE_INSTALL_PREFIX comes from
CMakeGenericSystem.cmake:
# Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX
# was initialized by the block below. This is useful for user
# projects to change the default prefix while still allowing the
#
On Thu, Sep 17, 2009 at 6:10 PM, Cristian Adam cristian.a...@gmx.net wrote:
James C. Sutherland wrote:
From FindBoost.cmake:
# These last three variables are available also as environment variables:
#
# BOOST_ROOT or BOOSTROOT The preferred installation prefix for
searching for
#
On Fri, Sep 18, 2009 at 5:01 PM, Ingolf Steinbach
ingolf.steinb...@googlemail.com wrote:
2009/9/18 John Drescher dresche...@gmail.com:
You set BOOST_ROOT in your windows environment variables.
Sorry, but I'd consider this just a workaround.
From the discussion in this thread, I have
On Wed, Sep 23, 2009 at 3:36 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
Visual Studio supports having solution files where the solution can set the
supported platform to x64 and yet have individual projects in the solution
build for the Win32 platform despite having the solution
On Fri, Sep 25, 2009 at 4:36 PM, Dixon, Shane shane.di...@atmel.com wrote:
I’m using the NSIS generator to create a package. Is there a CPACK variable
that can be set to add a particular executable to the start menu? I noticed
that the start menu is populated with “uninstall” only.
This
I want to add doxygen support to my projects but my google searches
are not finding good recent information on how to do this. Or has
nothing changed in the last 3 years?
--
John M. Drescher
___
Powered by www.kitware.com
Visit other Kitware
On Fri, Oct 16, 2009 at 2:16 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
Is there a way to turn off all the extra options that CMake tries to append
to compiler flags, linker flags, etc for the Visual Studio generators? I
have a project that I want to explicity control every
On Fri, Oct 16, 2009 at 4:14 PM, Philip Lowman phi...@yhbt.com wrote:
You may want to also look into platform override files. See the FAQ and
search for override.
Found that:
http://www.itk.org/Wiki/CMake_FAQ#Make_Override_Files
Thanks. I will have to bookmark that..
John
I am trying to add Windows versioning information to my project. I am
using CMake 2.6.2 and VS2005.
I have crafted a version.rc file which I use with all my libraries and
executables. This is working well except for one library which has 94
include directories, one greater than the 93
On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston shus...@riverace.com wrote:
If linux has valgrind which is an open source memory checker, is
there any equivalent on Windows? I noticed ctest supports purify,
but it looks like that's only a pay solution. Am I out of luck
trying to find a memory
On Tue, Oct 27, 2009 at 6:35 PM, L.M. de Vries luis.de.vr...@upc.edu wrote:
Hi,
Running RC3 to generate a VS2008-project on Windows Vista generates the
following warning ZERO_CHECK already exists (2 or 3 times).
After that it works fine...
This did not occur on 2.6. Any ideas?
There is a
On Thu, Oct 29, 2009 at 9:45 AM, Kevin Burge kevin.bu...@systemware.com wrote:
Thanks,
The fix for that is in 2.8.0 rc4. Are you still having this bug?
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
-- Forwarded message --
From: Kevin Burge kevin.bu...@systemware.com
Date: Thu, Oct 29, 2009 at 10:41 AM
Subject: Re: [CMake] Does 2.8.0 rc4 not have the ZERO_CHECK fix?
To: John Drescher dresche...@gmail.com
I had a possibly related problem according to Bill Hoffman (windows
Still no cmake-gui :-(
I have no experience with RHEL but I believe cmake-gui requires Qt 4.4
or greater. What version of Qt do you have installed?
John
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
-- Forwarded message --
From: Wen Shi ws...@sfu.ca
Date: Sat, Nov 7, 2009 at 2:19 AM
Subject: Re: [Insight-users] Problem with CMakelist
To: John Drescher dresche...@gmail.com
Hi john,
Thank you for your reply.
But actually I first used INCLUDE(${VXL_USE_FILE})
But when I use
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Tue, Nov 10, 2009 at 5:22 PM
Subject: Re: [CMake] How to build INSTALL project from the command line?
To: aaron_wri...@selinc.com
On Tue, Nov 10, 2009 at 5:09 PM, aaron_wri...@selinc.com wrote:
I've been
On Thu, Nov 12, 2009 at 12:51 PM, Steven Wilson
steven.wesley.wil...@gmail.com wrote:
Caveat: I am a complete Qt novice.
I'm trying to build the 2.8 CVS branch of CMake on Windows and would like to
build the Qt GUI. I downloaded and installed the LGPL/Free Windows Qt SDK
from the Nokia
On Thu, Nov 12, 2009 at 7:26 PM, Xiaofeng Z xf10...@hotmail.com wrote:
I was trying to build ITK in Window 7. It appears cmake.exe was not able to
install the files into “C:\Program Files (x86)\ITK” or “C:\Program
Files\ITK” folder.
Has anybody experienced the same?
Yes.
Is it a bug with
On Fri, Nov 13, 2009 at 1:15 PM, aaron_wri...@selinc.com wrote:
Bill,
I think you were right. I took a hard look at my SDK paths and
changed a capital I to a lower-case i and everything seems better.
Thanks for help.
I am confused about that. Windows paths and filenames are not
On Fri, Nov 13, 2009 at 4:01 PM, aaron_wri...@selinc.com wrote:
I'm sorry, I was being a little flippant. I had an un-escaped \ in my
perl script that set the INCLUDE environment variable. Apparently, CMake was
unable to compile a test program because of this messed up path, and thus
assumed
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Wed, Dec 2, 2009 at 8:44 PM
Subject: Re: [CMake] A bug for Code::Blocks MinGW?
To: Song Zhiwei son...@gmail.com
I use CMake to generate a Code::Blocks MinGW Makefiles for my project
Module4Test
On Thu, Dec 3, 2009 at 1:18 PM, Rodolfo Schulz de Lima
rodo...@rodsoft.org wrote:
Michael Jackson wrote:
I'll throw a no vote on that but what I would like to hear is some
more detail from Rodolfo explaining why he thinks he needs this? Have
you tried embedding the build directory inside the
That's one way do deal with it, but since I use xterm I don't have tabs,
and my monitor is a 17 4:3, so screen space it rare. Dude... I need
some serious tools and hardware upgrades :)
install screen
http://www.gnu.org/software/screen/
John
___
On Tue, Dec 8, 2009 at 8:18 PM, Song Zhiwei son...@gmail.com wrote:
Thanks. Have done.
That is
http://public.kitware.com/Bug/view.php?id=10014
for anyone following.
--
John M. Drescher
___
Powered by www.kitware.com
Visit other Kitware
Ok, nevermind, I built again using -DCMAKE_BUILD_TYPE=Release and that
worked. I wiped the build directory entirely and did
-DCMAKE_BUILD_TYPE=Release and it's working again. Strange. Maybe some
files just got screwed up somehow. That seems to have fixed it so please
disregard my
Under cmake-2.8.0 I have the following section in my CMakeLists.txt
IF(CMAKE_SIZEOF_VOID_P MATCHES 4)
string (REPLACE \\ / PGM_FILES $ENV{PROGRAMFILES})
ELSE(CMAKE_SIZEOF_VOID_P MATCHES 4)
# On WIN64 use the 64 bit program files..
string (REPLACE \\ / PGM_FILES $ENV{ProgramW6432})
On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe ty...@cryptio.net wrote:
On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
CACHE STRING Default Install Path)
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set
On Mon, Dec 14, 2009 at 12:21 PM, John Drescher dresche...@gmail.com wrote:
On Mon, Dec 14, 2009 at 12:16 PM, Tyler Roscoe ty...@cryptio.net wrote:
On Mon, Dec 14, 2009 at 12:07:33PM -0500, John Drescher wrote:
SET (DEFAULT_INSTALL_PATH ${PGM_FILES}/UPMC/${CMAKE_PROJECT_NAME}
CACHE STRING
On Tue, Dec 15, 2009 at 4:13 AM, Johan Knutzen knutzen_joh...@yahoo.se wrote:
Hi!
What is the status of scripts enabling precompiled headers for gcc/visual
studio? I've tried out PCHSupport_26 from
http://www.cmake.org/Bug/view.php?id=1260 but I couldn't get it to work. Does
anyone have
The CMake script in question looks more or less like:
FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} res/*.qrc )
QT4_ADD_RESOURCES( my_RESOURCES_SOURCES ${my_RESOURCES} )
...
It's always best to not do any file globbing and add each file by
hand. I believe this is causing the
On Wed, Dec 16, 2009 at 3:27 PM, Glenn Hughes ghughes02...@gmail.com wrote:
Removed the globbing, same exact behavior.
Any other ideas?
Does this normally work for people? Any examples?
Works fine for me. Although I rarely update the .qrc files.
John
On Mon, Dec 21, 2009 at 3:50 PM, Claus Klein claus.kl...@arcormail.de wrote:
Hi all,
I tried to use:
set(CMAKE_USE_RELATIVE_PATHS ON)
in my CMakeLists.txt.
But I noticed, that some cmake variables can't be changed in that way.
In the CMakeCache.txt, it is still OFF?
I have no idea about
There are lots of questions on this CMake variable and the consensus is DO
NOT USE IT. PERIOD. The implementation is basically broken for all but the
most trivial case.
I can tell you one thing. If the original idea of this was an attempt
to create a CMake free build that will not work.
John
On Tue, Dec 29, 2009 at 10:39 AM, Kenneth Porter sh...@sewingwitch.com wrote:
--On Monday, December 28, 2009 10:45 AM -0500 John Drescher
dresche...@gmail.com wrote:
Here is what I do.
[script]
Thanks. Must I put that in the project's CMakeLists.txt or can I capture
that to a file I can
Where can I put build instructions that are build-host-wide, not
project-wide?
I'm relatively new to cmake. I want to inject some code before the
project's own script, and I'd prefer not to modify the project (since then
I'd have to maintain the patch).
I want to set the
On Tue, Dec 29, 2009 at 6:01 PM, Hicham Mouline hic...@mouline.org wrote:
Hello,
I am writing software that uses boost and Qt and other 3rd party libraries
for win/mingw, win/msvc2008 and linux/gcc.
The location of the 3rd party header files is different on each of the boxes
I compile on.
On Thu, Dec 31, 2009 at 3:12 PM, Hicham Mouline hic...@mouline.org wrote:
-Original Message-
From: Clinton Stimpson [mailto:clin...@elemtech.com]
Sent: 31 December 2009 16:08
To: Hicham Mouline
Cc: cmake@cmake.org
Subject: Re: [CMake] restricting Qt include and library linking to 1
If you open cmake-gui does and look at the Qt tab in Grouped View are
the debug libraries properly set?
Hmm sorry for the bad wording..
If you open cmake-gui and look at the Qt tab in Grouped View are the
debug libraries properly set?
John
___
On Thu, Dec 31, 2009 at 5:06 PM, Hicham Mouline hic...@mouline.org wrote:
-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: 31 December 2009 20:25
To: Hicham Mouline; CMake mailing list
Subject: Re: [CMake] restricting Qt include and library linking to 1
I am going to only answer 1 part of this.
For example: I may have a set of separate directories(each containing a
project) and from the top level root directory, I want to selectively build
a subset of projects.
How can I do it on the command line ?
I do this with a batch file. Each project
On Wed, Jan 6, 2010 at 2:49 PM, Gregory Peele ARA/CFD gpe...@ara.com wrote:
Let's stress that the source and binary directories of this build are
readable and writable to Joe's account. It is NOT a file permission issue
for any files in our build tree. If CMake or Visual Studio generate files
Thanks, however I was looking to do it in a path independent way. For
example by just using the directory/vcproj name from top build
directory. Please do correct me if I have not understood correctly.
With that method there are no hardcoded paths in the batch files. The
paths were generated by
On Mon, Jan 11, 2010 at 3:51 PM, Chauhan, Vikas
vikas.chau...@anritsu.com wrote:
Actually, when I used the macro I found that though this macro gives
a
useful functionality it is not exactly what I wanted.
What I want to do can be illustrated the following example:
I have a main
I noticed that it generates the following output:
-- Check if this is a free VC compiler - yes
I do not think I am using a free VC compiler, something is wrong here.
Is it possible to use nmake with Visual Studio 2008 compiler using cmake
2.8?
I just tested this on my build box and similar
On Wed, Jan 13, 2010 at 1:07 PM, James Willis jwill...@lgc.com wrote:
Is there any good way of telling findqt (I don't really care about findqt3)
where to find Qt?
Like say you did:
set(QT_QMAKE_LOCATION /home/myself/qt4.6.0/bin)
so that I later upgrade and do:
set(QT_QMAKE_LOCATION
On Sat, Jan 16, 2010 at 11:07 AM, Jochen Wilhelmy j.wilhe...@arcor.de wrote:
Hi!
the first solution (Manual Replace) in
http://www.itk.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F
does not seem to work since in the gui of cmake (2.6 for windows) I don't
Now it works, I have upgraded to 2.8.0 and switched to Advanced View.
Since I have to start the tool, change it for debug and release and then
re-generate
I still think it could be done easier, especially without needing to ask in
this mailing list.
How do all these dummy windows users find
On Sat, Jan 16, 2010 at 4:11 PM, Jochen Wilhelmy j.wilhe...@arcor.de wrote:
I would suspect that most users use the default values. I pretty much
go with the defaults with the addition of adding the /MP parameter
inside my main CMakeLists.txt file.
If you are the author of some software then
On Sat, Jan 16, 2010 at 6:58 PM, Jochen Wilhelmy j.wilhe...@arcor.de wrote:
You may be able to get this approved if you file a bug report and
possibly provide a patch for this. It actually should not be that hard
to implement however I assume developers have much higher priorities
than this.
I haven't found any information about a CMake roadmap. Are there any
concrete plans about the release of CMake 2.9 yet?
2.9 is a development build. Even numbers are released while odd ones
are development. As for your question I do not know. But I can safely
say it will not be in this quarter
Navigate to a CLEAN build directory and invoke either cmake or cmake-gui
Out of source builds work great here. You keep your source in one tree
and your builds in other trees. For me its a choice between 32 and 64
bit builds for different microsoft compilers.
I have my source trees inside of
2010/1/20 Mike Jackson mike.jack...@bluequartz.net:
You need to have a valid/correct installation of MinGW or MSYS+MinGW or
Cygwin.
As a complement to Mike advice you may have a look at
Code::Blocks (aka C::B) too, it's a cross-platform IDE working on Windows
and there is downloadable
To add an additional option I have successfully used QtCreator (which
builds using MinGW) on windows with cmake. It supports CMakeLists.txt
files directly. I would call it work in progress as far as the CMake
support.
What's not working ?
(it works off the same CodeBlocks files)
The
Can you please help as how I could specify the number of threads to be used
in the command line builds i.e. something like
(For nmake)
Cmd nmake –j5
(For Visual Studio 2008)
cmd cmake –-build . –j5
Use vcbuild or msbuild
John
___
Powered by
I am testing running cmake to generate Visual Studio 2005 projects
under wine and things are going good. I have built 2 projects without
any problems then the third project had the following error:
CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeFortranInformation.cmake:25
Thanks but how do I integrate vcbuild or msbuild with cmake ?
I never have used the --build option.
I am not exactly sure. For my windows projects I have it generate a
batch file using cmake configure. This batch file calls devenv with
the options from cmake. So to build I call install.bat
When you build VTK using CMake the .lib .dll may have the same name
but they are in different folders. CMake understands this and will
properly link your application with the correct .lib. This happens if
you do build both debug and release vtk.
John
I think he is talking about having the
On Tue, Jan 26, 2010 at 5:39 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote:
hello.
I've ran into a slight problem, I have a program that uses qt4 gui, I've
created classes with ui, my cmakelist.txts looks like this:
cmake_minimum_required(VERSION 2.6)
PROJECT(Quad)
On Thu, Jan 28, 2010 at 3:28 AM, Marcel Loose lo...@astron.nl wrote:
Hi all,
For my project, I'm working on automatic 'svn update' of (parts of) my
source tree, prior to building. I was wondering whether someone else
might be interested in that kind of functionality. If so, maybe it could
be
Why I care:
Lets say that I someone wants to check the Visual Studio project goop
produced by CMake in trunk and check out in a diffrent directory in their
branch on another machine. With absolute paths sprinkled all over
effectively makes this impossible.
Never put any generated parts
STRING(REPLACE INCREMENTAL:YES INCREMENTAL:NO replacementFlags
${CMAKE_EXE_LINKER_FLAGS_DEBUG})
message (${replacementFlags})
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG ${replacementFlags})
STRING(REPLACE INCREMENTAL:YES INCREMENTAL:NO
On Thu, Feb 11, 2010 at 6:46 PM, Erwin Coumans erwin.coum...@gmail.com wrote:
I can't find where this INCREMENTAL:YES is coming from.
Is there a better way than hacking the 'cmLocalVisualStudio7Generator
::GetBuildTypeLinkerFlags'
to replace INCREMENTAL:YES by INCREMENTAL:NO?
Thanks a lot,
On Thu, Feb 18, 2010 at 2:38 AM, Anders Backman ande...@cs.umu.se wrote:
Hi all.
Im using latest (2.8 CMake) under Windows, VisualStudio 2008.
When I mix x86 and x64 builds, I would like to separate the actual output
directory for the builds so that I dont get problems about mixing build
On Fri, Feb 19, 2010 at 8:46 AM, Brad King brad.k...@kitware.com wrote:
On 2/18/2010 4:35 PM, Ben Medina wrote:
I just took it for a spin on the Windows side of my projects. It
worked flawlessly with VS2005 and VS2008.
Great, thanks for trying it.
However, with VS2010, CMake is re-run in
Recently I have moved to appending the svn rev to the end of my patch
version. An example of this is the following:
set (StudyManager_VERSION_MAJOR 0)
set (StudyManager_VERSION_MINOR 0)
set (StudyManager_VERSION_PATCH 0)
On Fri, Feb 19, 2010 at 7:30 PM, Tyler Roscoe ty...@cryptio.net wrote:
On Fri, Feb 19, 2010 at 06:44:20PM -0500, John Drescher wrote:
Under windows I am using the cygwin svn executable for this. The find
module does not automatically find subversion however if I enter it in
cmake-gui in xp64
On Sat, Feb 27, 2010 at 12:23 PM, Naram Qashat cyberb...@cyberbotx.com wrote:
I'm wondering if it's possible for CMake to prompt the user for input when
it's running, as opposed to relying on passing in arguments for input. Main
reason I'm looking for something like this is so we can have
On Wed, Mar 3, 2010 at 1:37 PM, Olaf Peter ope-de...@gmx.de wrote:
I try to use Qt's internal Stuff for my own purpose. I want to compile
the moc file separately which is with cmake very simple. Anyway, I have
to tweak moc for this.
I have to add the private type to the moc file generated
On Wed, Mar 3, 2010 at 1:44 PM, Felipe Sodre dos Santos
felipe.so...@totvs.com.br wrote:
Hello all.
Im trying to set an include directory which is actually an environment
variable inside VC++ , $(QTDIR), and thus I tried the following:
…
include_directories(
$(QTDIR)/include
)
301 - 400 of 507 matches
Mail list logo