Steven Van Ingelgem wrote:
Hi,
I was wondering why there are no VS makefiles? (run like nmake -f
project.mak).
You want the NMake Makefiles generator.
-Torsten
This e-mail and any files sent with it contain information that may be
privileged or confidential and is the property of the
Search the mailing list archives. This was discussed some weeks ago.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malhotra, Anupam
Sent: 15 January 2008 06:37
To: cmake@cmake.org
Subject: [CMake] Adding Custom Build Types
Hi
I have a
Actually, I always use the command line. So I haven't tried it from the GUI.
From: Jesse Corrington [mailto:[EMAIL PROTECTED]
Sent: 21 December 2007 20:06
To: Torsten Martinsen
Cc: David Cole; cmake@cmake.org
Subject: Re: [CMake] MSVC turn off RelWithDebInfo
Unfortunately, this does not work. I just tried adding
SET(CMAKE_CONFIGURATION_TYPES Debug;RelWithDebInfo)
at the top of my CMakeLists.txt, then deleted my build tree and ran cmake. The
generated project files still contain Debug, Release, MinSizeRel and
RelWithDebInfo.
-Torsten
* We're using an NMake build tree, is NMake particularly
slow? Do any of the other makes work more efficiently?
Be aware that nmake builds are much slower than using devenv, as nmake starts a
cl.exe process for every single file,
whereas devenv calls cl.exe with several source files.
Bill Hoffman mailto:[EMAIL PROTECTED] wrote:
Torsten Martinsen wrote:
Could we please get the patch for bug 3218 into this release?
I am not sure. The last time I applied that patch or a similar one
lots of tests failed and there was trouble so I had to undo it. I
don't think
The CVS version does, yes.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josef Karthauser
Sent: 30 November 2007 09:54
To: Jesse Corrington; Salvatore Iovene
Cc: cmake@cmake.org; [EMAIL PROTECTED]
Subject: RE: [CMake] cross compiling
Did I miss
Bill Hoffman mailto:[EMAIL PROTECTED] wrote:
The module FindQt4.cmake handles debug and release qtmain already.
See Modules/FindQt4.cmake and Modules/UseQt4.cmake for more
information.
Indeed, that module *defines* QT_QTCORE_LIBRARY_RELEASE,
QT_QTCORE_LIBRARY_DEBUG, etc.
But that does not
Philip Lowman mailto:[EMAIL PROTECTED] wrote:
So you can't do something like this?
FIND_LIBRARY(qtmain_release qtmain
PATHS C:/lang/qt/3.3.4r/lib NO_DEFAULT_PATH)
FIND_LIBRARY(qtmain_debug qtmain
PATHS C:/lang/qt/3.3.4/lib NO_DEFAULT_PATH)
# declare your targets.
Philip Lowman mailto:[EMAIL PROTECTED] wrote:
Torsten Martinsen wrote:
I'm sure this is a FAQ, but I cannot find the answer anywhere.
Using VS 2003, given that I have a third-party library with debug
and release variants:
/path/to/lib/release/lib.lib
/path/to/lib/debug/lib.lib
Jesper Eskilson wrote:
The first problem is that the Visual Studio generator fails to
properly rerun CMake when CMakeLists.txt. It reruns CMake, but the
modified projects files are not reloaded before continuing with the
build.
Unfortunately, there is no way of forcing Visual Studio to
Josef Karthauser wrote:
Each project statement should map to a .sln file that contains any
necessary .vcproj files.
I've got that. However, the .sln file doesn't appear to reference the
.vcproj files for objects specified in the target_link_libraries. I
would expect these to get added
[EMAIL PROTECTED] wrote:
I need to use under windows the buildin commands of the shell. But
when I run these commands they doesn't work correctly, because the
windows commands doen't like the slashes (/). It seems to me that
they want to get backslashes (\).
1. Is there a possiblity to get
Torsten Martinsen wrote:
Hendrik Sattler wrote:
Did you try using the LOCATION property of the TARGET stripping the
extension and using that?
Not until now, but: The LOCATION property expands to e.g.
C:/user/gh/ais/impl/build/cmake/vc7/ca/$(OutDir)/ca.exe, so that is
also no good
Torsten Martinsen wrote:
I am trying to get CMake to run my CppUnit tests automatically after
building from within Visual Studio .NET 2003.
Update: I tried with the latest snapshot (cmake version 2.5-20071009) as
well as with the NMake configuration,
but it still looks as if CMake ignores my
I am trying to get CMake to run my CppUnit tests automatically after
building from within Visual Studio .NET 2003.
Looking at
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_t
hen_use_the_executable_to_generate_a_file.3F,
I thought this would do the trick (the example is
Baptiste Derongs wrote:
The point is that I want a MakeFile that creates only the .o file,
doesnt try to get binary. Next that same Makefile (and other ones)
need the .o file to make other binaries.
Instead of focussing on how to do this small step, you should probably
explain what it is you
Baptiste Derongs wrote:
Actually I have a file that contains a lot of functions, call this
file global.c.
Next I have multiple files, call them f1.c, f2.c, ...
And each f*.c has to be compiled with global.c.
Make a static library containing global.c, then link each application to
it.
Josef Karthauser wrote:
Hello again,
I'm wondering what the best way to going about producing make files
and visual studio files at the same time is. I want to use nmake to
build my tree, but want visual studio project files so that the
developers can continue to with within the visual
Josef Karthauser wrote:
I'm looking at cmake as a potential solution to some build problems
I'm having. Am I right in thinking that cmake only allows for four
hard-coded configuration labels, DEBUG/RELEASE/etc? Where should I
look to add to these, as we've got more configurations than
In a macro, I succesfully use
INSTALL(
TARGETS ${project}
RUNTIME DESTINATION bin)
to add my .exe file to the list of files included by CPack. I also want
the .pdb file, so I tried
INSTALL(
FILES
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${project}.pdb
Hendrik Sattler wrote:
Zitat von [EMAIL PROTECTED]:
I want to use the CPACK generator, but the tutorial
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack is not quite
good. Perhaps somebody knows a better site.
When I run make with make package, then I get following error:
CPack
Manuel Klimek wrote:
On 8/30/07, Torsten Martinsen [EMAIL PROTECTED] wrote:
I, too, use Emacs. However, do not be oblivious to the fact that an
nmake build can take around five times longer than an IDE build.
why do you use nmake and not msbuild if you do a command
line build? msbuild
gga wrote:
KSpam wrote:
I agree that this is a Visual Studio issue; however, I am wondering
if anyone knows a workaround. I am not a Windows developer, but I
figured that someone on this list would have found a reasonable
solution.
Sure. Don't use Visual Studio. Stick to nmake and
Maik Keller mailto:[EMAIL PROTECTED] wrote:
Thanks Torsten. I just tested it, and it seems to work with
CMAKE_CURRENT_SOURCE_DIR. Would it be possible to provide me with
your implementation of the AIS_MOC macro as well?
Here it is:
# Run Qt MOC on a C++ header file.
# Arguments:
#1-N
I wrote:
when I use the Visual Studio 7 .NET 2003 generator, CMake generates
one .vcproj file for each library/application,
and one .sln file that contains all the .vcproj files, with
appropriate dependencies. So far so good.
What I would like in addition is a .sln file for each
Prashanth Udupa wrote:
Since copy does not accept file names of the form
D:/SomeFolder/SomOtherFolder/ and only of the form
D:\SomeFolder\SomOtherFolder\,
the copy command is failing. How can I make this post build command
work?
Use
COMMAND ${CMAKE_COMMAND} -E copy
Berardino la Torre wrote:
I'm trying to read an installation path from the windows registry:
SET(FBXSDK_ROOT_PATH
[HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir]
CACHE PATH FBX)
Where did you see documented that this is supposed to work?
-Torsten
This e-mail and
Hi,
when I use the Visual Studio 7 .NET 2003 generator, CMake generates
one .vcproj file for each library/application,
and one .sln file that contains all the .vcproj files, with appropriate
dependencies. So far so good.
What I would like in addition is a .sln file for each application, so
Sylvain Benner mailto:[EMAIL PROTECTED] wrote:
Torsten Martinsen a écrit :
Hi,
when I use the Visual Studio 7 .NET 2003 generator, CMake generates
one .vcproj file for each library/application,
and one .sln file that contains all the .vcproj files, with
appropriate dependencies. So far so
On 7/24/07, Brandon Van Every wrote:
How can I emulate Add folder MSVS functionality with CMake? I want
to be
able to add a folder without adding another executable or anything
like
that.
Are you looking for something that shows up in the MSVS Solution
Explorer? Perhaps you want the
Hi,
I have a library that contains both C++ and C files. For various
reasons, the C files must be compiled as C++. In my CMakeLists.txt file
I have
IF(OPT_DEST_VISUALSTUDIO)
ADD_DEFINITIONS(-TP)
ENDIF(OPT_DEST_VISUALSTUDIO)
This works fine for NMake Makefiles
Bill Hoffman mailto:[EMAIL PROTECTED] wrote:
SET_SOURCE_FILES_PROPERTIES( ${C_SOURCE} PROPERTIES LANGUAGE CXX)
It should work in 2.4.7, but the docs for 2.4.7 have not been updated
to include this, but the code has it.
Thanks, that seems to work perfectly.
-Torsten
This e-mail and any
33 matches
Mail list logo