...@kitware.com
CC: Sören Freudiger muffmo...@gmx.de, cmake@cmake.org
Betreff: Re: [CMake] Fixed ProjectGUID
Hello,
In Visual Studio 2010, ProjectGUID is a global. This bug provides a
patch to add global definitions to CMake, but only up to Visual Studio
2008. It shouldn't be difficult
Hello
Right now the CXX preprocessor defines are also used as the preprocessor
defines for the resource compiler (rc). Is there a way of changing that
behavior? We are using different preprocessor defines for cl and rc. And
sometimes we even connot use the cxx flags for the rc compiler...
Any
Pakulat ap...@gmx.de
An: cmake@cmake.org
Betreff: Re: [CMake] VS resource compiler preprocessor defines
On 18.01.11 14:11:15, Sören Freudiger wrote:
Hello
Right now the CXX preprocessor defines are also used as the preprocessor
defines for the resource compiler (rc). Is there a way
17:24:57 +0100
Von: Andreas Pakulat ap...@gmx.de
An: cmake@cmake.org
Betreff: Re: [CMake] VS resource compiler preprocessor defines
On 18.01.11 15:01:13, Sören Freudiger wrote:
hmm.. okay. That means I have to set the target properties for the cxx
files like this:
add_executable
Hello
Is it possible to set the ProjectGUID by CMake? Every time I generate a vcproj
file with CMake the ProjectGUID changes. But we need to have a fixed one
(because other projects are including the vcproj).
Best regards
SirAnn
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
gratis
Hi
I have a problem. After running CMake (VS 2003/2008 project) there's always a
EXPORT preprocessor define in my project setting that I don't need.
add_library(XXX SHARED ...)
-- predefine XXX_EXPORTS
I manually set this predefine in a correct way (means in upper case!). CMake
generate
SHARED ...)
On 01/05/2011 10:05 AM, Sören Freudiger wrote:
Hi
I have a problem. After running CMake (VS 2003/2008 project) there's
always a EXPORT preprocessor define in my project setting that I don't need.
add_library(XXX SHARED ...)
-- predefine XXX_EXPORTS
I manually set
Hi
One Problem.
There's one file in my sources that produces a cxx file in a pre build step
(similar to qt_ui or moc, swig ...)
But the source file isn't a h,c,cxx, file. It's a .if file thus I caonnot put
this to the project source files without getting an error.
Ok, but step by step...
Hi Taesoo
We are also dealing with the mpicxx compiler.
Best way (and the cmake way of doing that) is to change the env viariables CC
and CXX.
Because we are often switching between gxx and mpicxx, we are using bash
scripts for that purpose:
-
#!bash
export CC=/usr/bin/gcc-4.0
That's right. But on bad configured cluster systems you have a lot of different
mpi-compilers. I don't know what changes had have been done to the findMPI
modul. But the last version I tried wasn't satisfying.
And all you need to now are the compilers and the mpi library...
-Ursprüngliche
Hi Steve
SET(VAR C:\path\to\foo)
-”\p” and “\f” are interpreted as escape sequences
Setting VAR via CMake GUI it is internally interpreted as:
C:\\path\\to\\foo
That means you have to do following to obtain what you want to:
SET(INPUT_VAR C:\\path\\to\\foo) #or just set this variable via the
Hello
I'm in big trouble. I cannot change the cxx compile flags as I want.
binary project for VS 2008 - example:
...
ADD_EXECUTABLE( project ${source_files} )
SET_TARGET_PROPERTIES(project PROPERTIES COMPILE_FLAGS_DEBUG /MTd)
SET_TARGET_PROPERTIES(project PROPERTIES COMPILE_FLAGS_RELEASE /MT)
-
: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag von
Sören Freudiger
Gesendet: Samstag, 21. November 2009 11:34
An: cmake@cmake.org
Betreff: [CMake] set_target_properties - compile flags problem
Hello
I'm in big trouble. I cannot change the cxx compile flags as I want.
binary
Hi @all
In our project we are several times adding preprocessor defines via
ADD_DEFINITIONS.
Now I need to get these defines to add them for a ADD_CUSTOM_COMMAND (pre build
via swig ).
The documentations says that these defines are stored in
COMPILE_DEFINITIONS
but this variable is
I'm using precompiled header and CMake (I just wrote an Macro).
If someone is intressted, just write me an email... It's for MSVC (7-9) only
right now!
- SirAnn
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Bill Hoffman
Gesendet: Dienstag, 11.
No idea??? Problem in my solution is: user defined flags via gui are vanished
at configure...
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sören Freudiger
Gesendet: Donnerstag, 6. November 2008 19:20
An: cmake@cmake.org
Betreff: [CMake
Hi
long long time ago I wrote this macro to add CXX flax:
#
### ADD_CXX_FLAGS(flags) ###
### flags will be added to CMAKE_CXX_FLAGS###
Hi
How to handle windows dll dependences in CMake.
CMakeList.txt
=
ADD_LIBRARY(MY_DLL MODULE ${ALL_SOURCES} ) #-- MSVC generates MY_DLL.dll
and one
# small MY_DLL.lib that has to
be linked
# to
Hello
I want to add _SCL_SECURE_NO_WARNINGS and _CRT_SECURE_NO_DEPRECATE at
the MSVC Release configuration only.
How can I do that?
I found the open feature request:
http://www.vtk.org/Bug/view.php?id=6269
Is there any workaround?
-SirAnn
___
But be carefull... I got a lot of errors by using 4.3.0 within MinGW. OpenMP
sometimes end in a compiler segmentation fault and some templates couldn't
be resolved (although cl, intel9/10 and gcc 4.1 can do).
so: good luck
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
Hi out there
The new macro is pretty nice.
But one section is still missing:
IF (MSVC90)
SET (_boost_COMPILER -vc90)
ENDIF(MSVC90)
And the option for the newest boost release ver. 1.35
So long,
SirAnn
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
Hi
Is there a way to find out in which directory I am?
We have this kind of structure:
/proj/source/package1/a.h
/proj/source/package1/a.h
/proj/source/package1/CMakePackage.txt
/proj/source/package2/b.h
/proj/source/package2/b.cpp
Hello
Following problem:
My CMakeList.txt file is somewhere like:
E:/LBM_subversion/source/topology/amr3d/lbmd3q19/singlephase/testcases/RCF/a
ll_in_one
Now I want to have only the substring:
E:/LBM_subversion/source
Is it possible to get last string with the help of
-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Brandon Van
Every
Gesendet: Montag, 3. Dezember 2007 21:01
An: cmake@cmake.org
Betreff: Re: [CMake] SUBSTRING - STRING - shorten a string variable
On Dec 3, 2007 12:56 PM, Sören Freudiger [EMAIL PROTECTED] wrote:
Hello
Just a short question.
How to check if an environment variable exist?
Something like:
IF( ENV{TESTVAR} )
...
Because elsewise I get errors at $ENV{TESTVAR} if TESTVAR doesn't exist...
Best,
SirAnn
___
CMake mailing list
CMake@cmake.org
I just downloades the newest CVS and still have this bug :-(
-Ursprüngliche Nachricht-
Von: Sylvain Benner [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 9. November 2006 11:06
An: Sören Freudiger; cmake@cmake.org
Betreff: Re: [CMake] SOURCE_GROUP bug
It's a known bug (#2331
Hi there's a bug within SOURCE_GROUP and subfolders:
Example:
DIRS ON HDD:
\world
\world\europe
\world\europe\france\people
\world\europe\france\paris
\world\europe\france\paris\people
CMAKELIST.TXT:
SOURCE_GROUP(\\world a.cpp)
SOURCE_GROUP(\\world\\europe b.cpp)
Hi folks
two questions:
1. my macro:
MACRO(SET_CXX_COMPILER compiler)
SET(CMAKE_CXX_COMPILER ${compiler} CACHE STRING C++ compiler FORCE)
ENDMACRO(SET_CXX_COMPILER)
and my implementation:
SET_CXX_COMPILER(distcc mpicxx)
results in a build.cmake file with
distcc\ mpicxx ...
the
Hi
I know this question was asked long time ago and I answered it already, but
maybe there is a new solution for the problem.
I wrote a macro that adds CXX compiler flags to my existing ones:
MACRO(ADD_CXX_FLAGS)
FOREACH(arg ${ARGN})
SET(TMP ${arg}) #elsewise the Seperate command doesn't
29 matches
Mail list logo