On 03/11/2011 08:00 PM, David Cole wrote:
On Fri, Mar 11, 2011 at 12:05 PM, Jim Newsome jnews...@cmu.edu wrote:
Unfortunately it seems that the target needs to have a different name
from its dependencies. When building I get:
make[2]: Circular CMakeFiles/hello.bin - hello.bin dependency
dependencies.
Regards,
Michael
PS: If you use CMake 2.8.4, you should refer to the hello executable
in the custom command's COMMAND clause by a generator expression.
On Fri, Mar 11, 2011 at 2:30 PM, Michael Hertling mhertl...@online.de wrote:
On 03/11/2011 08:00 PM, David Cole wrote:
On Fri, Mar 11
On 03/14/2011 03:15 PM, arrowdodger wrote:
Hello. I'm using CMake as build system for a C/CXX project and i've faced
the following problem: I need to compile some sources as bytecode for VM.
This is achieved by using different linker (with different flags) and,
probably, different compiler. At
On 03/14/2011 06:42 PM, arrowdodger wrote:
On Mon, Mar 14, 2011 at 7:16 PM, Michael Hertling mhertl...@online.dewrote:
2) If you collect the affected files in a separate directory - which is
probably recommendable anyway - you might set CMAKE_C_COMPILE_OBJECT
On 03/14/2011 11:55 PM, Óscar Fuentes wrote:
Hendrik Sattler p...@hendrik-sattler.de
writes:
The COMPILE_FLAGS property sets additional compiler flags used to build
sources within the target.
So it *adds* flags. I want to *set* flags, i.e. replace the existing
ones.
So you add global
On 03/15/2011 06:13 AM, Óscar Fuentes wrote:
Michael Hertling mhertl...@online.de
writes:
So you add global compiler flags which are not meant to be global? A usual
person would say: then do not set them globally!.
It's really that simple...
No, I want to replace those automatically
On 03/15/2011 06:30 PM, arrowdodger wrote:
On Tue, Mar 15, 2011 at 12:20 PM, Michael Wild them...@gmail.com wrote:
Just one warning: AFAIK these rule variables are only used for
Makefile-based generators, *NOT* for Xcode and VisualStudio and the
like. I'd prefer the route via
On 03/18/2011 10:27 PM, Orion Poplawski wrote:
I would like to have the standard cmake module path searched first before a
local projects path. Is this possible to do?
SET(CMAKE_MODULE_PATH ${CMAKE_ROOT}/Modules local-project-path)
Regards,
Michael
On 03/18/2011 09:28 PM, Alan W. Irwin wrote:
I am using the following CMake code fragment to collect file depends for a
custom
target that generatates doxygen documentation:
# Collect essentially same source code dependencies that are in Doxyfile
# including most of the template
On 03/22/2011 11:33 PM, Jean-Christophe Fillion-Robin wrote:
Hi Arvind,
As documented
herehttp://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_RUNTIME_OUTPUT_DIRECTORY,
set the variable CMAKE_RUNTIME_OUTPUT_DIRECTORY instead.
Usually I set this one just after I invoke
On 03/22/2011 03:16 PM, Chris Volpe ARA/SED wrote:
I posted this question in the VTK Users mailing list originally, but have
since determined that it is more of a CMake issue than a VTK issue, and the
involvement of VTK is only tangential.
I am trying to set up a source tree which will
Of Michael Hertling
Sent: Tuesday, March 22, 2011 7:30 PM
To: cmake@cmake.org
Subject: Re: [CMake] Building a DLL and test driver EXE using CMake --
error by design?
[my original elided for brevity --CRV]
The TARGET_LINK_LIBRARIES() command works transitively, i.e. TestDriver
will be linked
On 03/23/2011 05:26 PM, Chris Volpe ARA/SED wrote:
Jc-
Thanks for the suggestions, but it's not clear if your suggestions are
general suggestions, or if they actually address the problem I'm
experiencing. Moreover, the problems that your suggestions claim to solve
seem to be problems
On 03/24/2011 03:44 PM, David Doria wrote:
Is there a way to explicitly set the CMAKE_CXX_FLAGS for a particular
executable? That is, if I set CMAKE_CXX_FLAGS and then have a
add_executable line, then change CMAKE_CXX_FLAGS and then have another
add_executable, will the first set of
On 03/24/2011 11:39 PM, David Doria wrote:
On Thu, Mar 24, 2011 at 11:31 AM, Yuri Timenkov y...@timenkov.ru wrote:
Use COMPILE_FLAGS target property. Like this:
set_target_properties(Exec2 PROPERTIES COMPILE_FLAGS /flag1 /flag2)
You can see full list of properties in CMake documentation.
On 03/24/2011 10:55 AM, Marcel Loose wrote:
Hi all,
I stumbled upon this issue, while trying to track down why
FindPythonLibs finds the static library libpython2.6.a
in /usr/lib64/python2.6/config, instead of the shared library
libpython2.6.so in /usr/lib64 on my system.
On my system,
On 03/28/2011 04:47 PM, João Oliveira wrote:
Hello, I am a student of Instituto Politecnico de Castelo Branco from
Portugal and I having some problems compiling it is necessary to run the
toolbox PCL. I am using cmake 2.8.4 and when I try to compile cminpack 1.0.4
the following error
On 03/28/2011 08:23 PM, David Doria wrote:
I have setup a list of definitions:
SET(MAIN_BUILD_DEFINITIONS ${MAIN_BUILD_DEFINITIONS} UNIX;)
SET(MAIN_BUILD_DEFINITIONS ${MAIN_BUILD_DEFINITIONS} PIXEL_DIMENSION=3;)
I display them and apply them to my executable as follows:
On 03/29/2011 07:47 AM, Michael Hertling wrote:
On 03/28/2011 08:23 PM, David Doria wrote:
I have setup a list of definitions:
SET(MAIN_BUILD_DEFINITIONS ${MAIN_BUILD_DEFINITIONS} UNIX;)
SET(MAIN_BUILD_DEFINITIONS ${MAIN_BUILD_DEFINITIONS} PIXEL_DIMENSION=3;)
I display them and apply them
On 03/28/2011 02:51 PM, Rolf Eike Beer wrote:
I try to do an INSTALL(EXPORT) to allow others to link against one of my
libraries. That libraries is linked against some other internal libraries
the target's don't need to link to as everything in them is purely
internal.
I tried something
On 03/29/2011 04:14 PM, David Doria wrote:
Most likely coming from here:
/home/doriad/src/CMake/Modules/UsewxWidgets.cmake(72): SET(CMAKE_CXX_FLAGS
${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS} )
I added:
message(CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS})
and the output is:
CMAKE_CXX_FLAGS:
On 03/29/2011 11:36 PM, Rolf Eike Beer wrote:
Am Dienstag, 29. März 2011, 09:41:36 schrieb Brad King:
On 03/29/2011 05:19 AM, Rolf Eike Beer wrote:
The basic idea is: any symbols from those private libraries are, well,
private. The user only ever sees the symbols from the public library. In
On 03/25/2011 03:36 PM, David Doria wrote:
Could you post the output of make VERBOSE=1?
On *nix, the following CMakeLists.txt works as expected:
The output of make VERBOSE=1 contains:
.../c++ -DUNIX -o .../SetTargetProperties.cxx.o -c
.../SetTargetProperties.cxx
It is working properly
On 03/30/2011 02:02 PM, Rolf Eike Beer wrote:
However, I still don't understand the relation of that transitive
linking and its avoidance, respectively, to your initial complaint
about CMake's error message due to the missing library in another
library's export set. Unless I'm mistaken,
On 03/30/2011 03:14 PM, Rolf Eike Beer wrote:
On 03/30/2011 02:02 PM, Rolf Eike Beer wrote:
However, I still don't understand the relation of that transitive
linking and its avoidance, respectively, to your initial complaint
about CMake's error message due to the missing library in another
On 03/30/2011 08:00 PM, Whitcomb, Mr. Tim wrote:
Shortening to reduce wall-of-text:
I have a Fortran project with a top-level CMakeLists.txt file with 47
add_subdirectory calls. Three of the subdirectories require a different set
of preprocessor definitions and compiler flags than the
On 03/28/2011 03:08 PM, Hariharan wrote:
I'm trying to build a stripped target using install/strip with the function
and line information retained. I need to pass the --strip-debug and
--keep-file-symbols to the system strip binary because the default is to
strip all symbols. Is there any way
On 04/01/2011 03:02 PM, Gaylord Charles wrote:
Hello,
I am migrating a project from Visual Studio 8 to CMake and I look for a way
to exclude files from build for a defined configuration.
I think the HEADER_FILE_ONLY source file property can suit my needs and it
would be great to have a
On 04/02/2011 10:52 AM, Rolf Eike Beer wrote:
Am Donnerstag, 31. März 2011, 15:26:31 schrieb Brad King:
On 03/31/2011 09:14 AM, Rolf Eike Beer wrote:
See below. Looks like the only way to prevent this is to set
LINK_INTERFACE_LIBRARIES to empty for every lib that uses the static
lib.
Which
On 04/04/2011 07:30 PM, Theodore Papadopoulo wrote:
Hi,
I'm trying to use cmake to install a include only library.
I'd like to use the export feature as described in
http://www.itk.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
and I found the idea of using
On 04/03/2011 02:25 AM, aaron_wri...@selinc.com wrote:
I have some m4 files in my build that include other m4 files, so there's a
dependency between m4 files that can change at any time. I can calculate
the dependency at configure time, but what can I do when the files change
and I need to
On 04/07/2011 02:33 PM, Neil MacMullen wrote:
I'm a newcomer to cmake so if I'm missing something obvious please point it
out. Having said that, despite reading the online documentation and doing a
fair amount of googling I haven't found a solution.
Specific Questions
On 04/07/2011 07:37 PM, Jiang Xu wrote:
Hi All,
I am new to cmake, but I really like it after looking into it.
I am in the process to make some changes to our current make file system.
I wonder how can I archieve the following goal using cmake:
1. The root directory is features/
2.
On 04/09/2011 01:43 PM, Manuel Holtgrewe wrote:
Dear all,
I have an issue with the Xcode generator and the visibility of targets
in the generated project files. The problem is that in the project
files generated in subdirectories, targets from the directories above
are not visible.
On 04/09/2011 06:32 PM, Manuel Holtgrewe wrote:
There're two spots in your A/CMakeLists.txt catching my eye,
although I
doubt that they are actually causing the difficulties you report on:
1) The DEPENDS clause of ADD_CUSTOM_TARGET() is meant for file-level
dependencies only, i.e. you
On 04/11/2011 10:42 PM, Tomasz Grobelny wrote:
On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote:
On Monday 11 April 2011, Tomasz Grobelny wrote:
On Mon, 11 Apr 2011 09:01:09 -0700, Tyler ty...@cryptio.net wrote:
On Mon, Apr 11, 2011 at 8:54 AM, Tomasz Grobelny
On 04/11/2011 11:10 PM, David Aiken wrote:
That didn't work for me.. I've got it simplified down to:
SET(CMAKE_SKIP_RPATH TRUE)
and in the CMakeCache.txt I see:
CMAKE_SKIP_RPATH:BOOL=NO
That's not surprising as your SET() command doesn't write to the cache.
It's the CMAKE_SKIP_RPATH
On 04/13/2011 09:26 PM, Brad King wrote:
On 04/13/2011 02:44 PM, Jean-Christophe Fillion-Robin wrote:
Is there a solution to find a library having a revision number ?
You can specify the actual library file name libgfortran.so.3.
AFAIK, this is not sufficient because FIND_LIBRARY() only
On 04/13/2011 08:52 PM, Alexander Neundorf wrote:
On Tuesday 12 April 2011, Michael Hertling wrote:
On 04/11/2011 11:10 PM, David Aiken wrote:
That didn't work for me.. I've got it simplified down to:
SET(CMAKE_SKIP_RPATH TRUE)
and in the CMakeCache.txt I see:
CMAKE_SKIP_RPATH:BOOL
On 04/12/2011 04:36 PM, Tomasz Grobelny wrote:
On Tue, 12 Apr 2011 03:44:04 +0200, Michael Hertling mhertl...@online.de
wrote:
On 04/11/2011 10:42 PM, Tomasz Grobelny wrote:
On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote:
On Monday 11 April 2011, Tomasz Grobelny wrote:
On Mon, 11
On 04/14/2011 12:44 PM, J.S. van Bethlehem wrote:
Dear users,
As a new user CMake I've come across some things I don't fully
understand yet. Here is such a thing:
when I build documentation, I want to run some files from a 'demo'
subdirectory and create output - suppose the (binary) file
On 04/15/2011 11:22 PM, Oliver Buchtala wrote:
Hi,
I observe that a custom command attached to a custom target as
POST-BUILD is launched on every build.
Is that true? or is it a misconfiguration on my side?
Bye,
Oliver
A custom target is always out of date, i.e. it is always rebuilt
On 04/14/2011 06:56 AM, Michael Wild wrote:
On 04/13/2011 11:50 PM, klaas.holwerda wrote:
Hi,
I use ADD_DEFINITIONS( ${wxWidgets_DEFINITIONS} ) to add flags for
compilation like this:
set( wxWidgets_CXX_FLAGS ${wxWidgets_CXX_FLAGS}
-D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
On 04/16/2011 12:05 AM, Oliver Buchtala wrote:
Am 15.04.2011 23:48, schrieb Michael Hertling:
On 04/15/2011 11:22 PM, Oliver Buchtala wrote:
Hi,
I observe that a custom command attached to a custom target as
POST-BUILD is launched on every build.
Is that true? or is it a misconfiguration
On 04/19/2011 02:17 AM, Oliver Buchtala wrote:
Am 18.04.2011 06:58, schrieb Michael Hertling:
On 04/16/2011 12:05 AM, Oliver Buchtala wrote:
Am 15.04.2011 23:48, schrieb Michael Hertling:
On 04/15/2011 11:22 PM, Oliver Buchtala wrote:
Hi,
I observe that a custom command attached to a custom
On 04/20/2011 08:16 AM, Oliver Buchtala wrote:
Am 19.04.2011 16:10, schrieb David Cole:
On Mon, Apr 18, 2011 at 11:22 PM, Michael Hertling
mhertl...@online.de mailto:mhertl...@online.de wrote:
On 04/19/2011 02:17 AM, Oliver Buchtala wrote:
Am 18.04.2011 06:58, schrieb Michael
On 04/20/2011 05:40 AM, Fraser Hutchison wrote:
Hi Gib,
Try the following:
GET_TARGET_PROPERTY(FUBAR_EXE fubar LOCATION)
ADD_CUSTOM_COMMAND(TARGET fubar POST_BUILD COMMAND ${CMAKE_COMMAND} -E
copy ${FUBAR_EXE} somepath)
Cheers,
Fraser.
Don't use the obsolete LOCATION property
On 04/20/2011 11:56 PM, Gib Bogle wrote:
Quoting Michael Hertling mhertl...@online.de:
On 04/20/2011 05:40 AM, Fraser Hutchison wrote:
Hi Gib,
Try the following:
GET_TARGET_PROPERTY(FUBAR_EXE fubar LOCATION)
ADD_CUSTOM_COMMAND(TARGET fubar POST_BUILD COMMAND ${CMAKE_COMMAND} -E
copy
On 04/24/2011 04:06 PM, Paul Baumer wrote:
Thanks for your help. I have just tried this. But there is a cyclic
dependency issue.
install_after_all calls install which depends on ALL_BUILD and tries to
build install_after_all.
Possible solutions:
a. break the install - ALL_BUILD
On 04/24/2011 08:35 AM, Rosen Diankov wrote:
Hi all,
We would like to add a 'make altinstall' option similar to python's
altinstall so that it doesn't install symlinks that clobber the system
install's symlinks for our program.
Basically, a normal install does:
program0.3
program -
On 04/24/2011 04:56 PM, Campbell Barton wrote:
2011/4/23 YangXi jianding...@msn.com:
In my program, I have several pictures and plain-text data files. Usually in
a unix system, they should be placed on /usr/share/my_program/some_place.
How could I define those files in CMakeLists, and make
On 04/21/2011 03:44 PM, Michael Wild wrote:
On 04/21/2011 02:45 PM, David Cole wrote:
On Thu, Apr 21, 2011 at 4:30 AM, Michael Wild them...@gmail.com
mailto:them...@gmail.com wrote:
On 04/21/2011 06:48 AM, Michael Wild wrote:
Hi all
I'm trying to set up a SuperBuild
On 04/25/2011 01:53 PM, Michael Wild wrote:
On 04/25/2011 12:48 PM, Michael Hertling wrote:
On 04/24/2011 04:56 PM, Campbell Barton wrote:
2011/4/23 YangXi jianding...@msn.com:
In my program, I have several pictures and plain-text data files. Usually
in
a unix system, they should be placed
On 04/25/2011 05:15 PM, Michael Wild wrote:
On 04/25/2011 04:51 PM, Michael Hertling wrote:
[...]
I also solved my installation problem. By having all sub-projects
install into a common prefix, and thanks to the wonders of RPATH and
install_name which can handle relative paths and thanks
On 04/26/2011 06:20 AM, Michael Wild wrote:
On 04/25/2011 05:03 PM, Michael Hertling wrote:
On 04/25/2011 01:53 PM, Michael Wild wrote:
On 04/25/2011 12:48 PM, Michael Hertling wrote:
On 04/24/2011 04:56 PM, Campbell Barton wrote:
2011/4/23 YangXi jianding...@msn.com:
In my program, I have
On 04/26/2011 03:40 PM, Glenn Coombs wrote:
I am using cmake 2.8.2 and I have added a custom configuration to my project
like this:
# Add configuration for debug pthreads builds based on the debug
configuration
#
On 04/26/2011 03:19 PM, Michael Wild wrote:
On 04/26/2011 02:48 PM, Michael Hertling wrote:
On 04/25/2011 05:15 PM, Michael Wild wrote:
On 04/25/2011 04:51 PM, Michael Hertling wrote: [...]
[...] The only thing that required some thinking was writing a
relocatable XXXConfig.cmake file. I
On 04/28/2011 01:51 PM, John R. Cary wrote:
This is in reference to
iter.cary$ cmake --version
cmake version 2.8.3
iter.cary$ uname -a
Linux iter.txcorp.com 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27
17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
We have a situation where a package
On 05/01/2011 11:16 AM, Toralf Niebuhr wrote:
Hi.
I've got the following problem:
I've got a CMake Project with the following directory structure:
project/src
project/include
project/resources
In the directory project/resources/ is a file res.gen.
I have a command that generates
On 04/29/2011 03:39 PM, Pere Mato Vila wrote:
Perhaps somebody can give me some hints on this problem I have. I build a
project and install it in path/install with make install. Then I do
change the installation prefix with
cmake -DCMAKE_INSTALL_PREFIX=path/install2 ../root_cmake/
and if
On 05/02/2011 07:05 PM, hurcan solter wrote:
Hi all
I have a project that depends on some contrib libraries (SDL png etc..).
If I can't find the dependencies through FindXXX macros
I build them myself (wrote CMakeLists for dependencies) and link to the
project, also setting the include
On 04/29/2011 11:52 AM, Jan Wurster wrote:
Hi David,
thanks for your help and suggestions!
From: David Cole [mailto:david.c...@kitware.com]
Sent: Donnerstag, 28. April 2011 19:57
Subject: Re: [CMake] Triggering individual steps of
externalproject_add add cmake time
I would strongly
On 05/03/2011 11:17 AM, Pere Mato Vila wrote:
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
PROJECT(PREFIX C)
SET(CMAKE_VERBOSE_MAKEFILE ON)
ADD_LIBRARY(f SHARED f.c)
INSTALL(TARGETS f
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
with
On 05/04/2011 11:51 AM, Rolf Eike Beer wrote:
hi michael,
thanks for the tip, this makes a lot of sense. unfortunately, the
following does not work:
add_custom_command(TARGET libopenrave POST_BUILD COMMAND
${CMAKE_COMMAND} -E create_symlink $TARGET_FILE_NAME:libopenrave0.3
On 05/04/2011 02:30 PM, Ben Morgan wrote:
Hi,
I've been working on adding ProjectConfig.cmake support to my CMake based
projects, and just had a quick question regarding 'best practice' in writing
these when the project builds both dynamic and (optionally) static
libraries, with clients of
${PTHREADS_LIBRARIES})
TARGET_LINK_LIBRARIES(myLib pthreads)
and that's it. Perhaps, this would be worth a feature request.
Regards,
Michael
On 26 April 2011 15:15, Michael Hertling mhertl...@online.de wrote:
There is a possibility with an intermediate empty static library which
gets reimported
On 05/10/2011 12:19 PM, Erlend Pedersen wrote:
I am having problems with Fortran linking that doesn't work when
building static libraries, only when building shared libraries. I am
using cmake from Ubuntu 10.04 (2.8.0-5ubuntu1).
I use CMake to build a project, including project-internal
On 05/08/2011 07:35 AM, Bo Zhou wrote:
Hello all,
I am dealing with a problem about the output path. At present I just do
like this,
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib)
And in fact the full path
On 05/11/2011 09:07 PM, Alexander Neundorf wrote:
Hi,
I'd like to set up a kind of meta super project, which builds a bunch of
subprojects, which contains executable and shared libraries.
These subprojects come from different repositories, mostly git repositories.
AFAIK I can basically
On 05/12/2011 10:40 PM, David Demelier wrote:
Hello,
I have some trouble to link my project to the imlib2 library. The
library is installed correctly and a command like :
gcc test.c -o test `pkg-config --libs --cflags imlib2`
works and link to imlib2.
I have this CMakeLists.txt
On 05/14/2011 07:57 PM, Alexander Neundorf wrote:
On Thursday 12 May 2011, Michael Hertling wrote:
On 05/11/2011 09:07 PM, Alexander Neundorf wrote:
Hi,
I'd like to set up a kind of meta super project, which builds a bunch of
subprojects, which contains executable and shared libraries
On 05/15/2011 05:42 PM, Alexander Neundorf wrote:
On Sunday 15 May 2011, Michael Hertling wrote:
On 05/14/2011 07:57 PM, Alexander Neundorf wrote:
...
Indeed, RPATH-related dependencies among the intermediately installed
subprojects are malicious. In order to solve the problem you outlined
On 05/13/2011 08:36 AM, Heine, Christian (EXTERN: VWGEDS) wrote:
I've followed your instructions, removed the obsolete lines but
no effect, the libbrOpenGL.dll which is located at ./lib is still
missing on startup ...
The br* stuff are my dependencies library which I've created
and
On 05/17/2011 05:45 PM, Robert Bielik wrote:
Hi all,
I'm wondering if there's a way to touch files on cached var changes. Let's
say I have an option to enable or disable a feature
in my application, and depending on its setting a preprocessor macro is
defined (or not defined) in the
On 05/17/2011 07:46 PM, David Cole wrote:
On Tue, May 17, 2011 at 1:30 PM, Michael Hertling mhertl...@online.dewrote:
On 05/17/2011 05:45 PM, Robert Bielik wrote:
Hi all,
I'm wondering if there's a way to touch files on cached var changes.
Let's say I have an option to enable or disable
On 05/17/2011 05:00 PM, gekso wrote:
Hi David, try to set ( CMAKE_VERBOSE_MAKEFILE true )
AFAIK, this just means verbose output enabled by default.
2011/5/17 David Aldrich david.aldr...@emea.nec.com:
Hi
I would like to see the exact g++ commands that are invoked by a makefile
generated by
On 05/19/2011 08:14 AM, AMARNATH, Balachandar wrote:
Hi,
I am trying to build MPF package in windows using intel compilers and i end
up with the following error.
***Check for working Fortran compiler using:
Visual Studio 10
Check for working C compiler
On 05/19/2011 08:18 AM, Robert Bielik wrote:
Robert Bielik skrev 2011-05-19 07:57:
I have a problem where I need to be able to select Unicode build or not,
but at the same time 3 files of my project MUST NOT have
Unicode enabled. Is there a way to remove compile definitions for certain
On 05/19/2011 11:11 AM, Anton Sibilev wrote:
Hello!
I'm wondering how I can use --start-group archives --end-group
linker flags with Unix Makefiles.
May be somebody know the right way?
You might specify these flags immediately in TARGET_LINK_LIBRARIES():
CMAKE_MINIMUM_REQUIRED(VERSION 2.8
On 05/16/2011 10:08 PM, Clifford Yapp wrote:
On Mon, May 16, 2011 at 4:00 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
So you basically want an opposite to HINTS and PATHS, like e.g. EXCLUDE ?
Doesn't sound too bad.
Yes, that would work - ideally though I'd like to EXCLUDE the
On 05/18/2011 07:46 PM, Yngve Inntjore Levinsen wrote:
Dear developers,
I have a bit of an issue with ctest. In our project we usually generate a
binary which we pipe in scripts with the commands we want to execute (some
defined parser language). Now at first I would have liked to do
but
complete example which demonstrates these variables' failure? Possibly,
it might be considered as a bug.
Regards,
Michael
On Thu, May 19, 2011 at 7:47 AM, Michael Hertling mhertl...@online.de wrote:
Have you already tried the CMAKE_[SYSTEM_]IGNORE_PATH variables? At
the first glance
On 05/10/2011 11:24 AM, Pere Mato Vila wrote:
To my regret, I don't see any easy solution for your concern, but if
the unnecessary rebuilds due to the the RPATH placeholder mechanism
are a serious issue in your project, the above-noted approach can
possibly be adapted to your needs.
'hope
On 05/23/2011 05:09 PM, Sanatan Rai wrote:
On 23 May 2011 16:00, Michael Wild them...@gmail.com wrote:
Everything that relies on static/global initialization to register
factories is an implicit scheme. An explicit scheme is where the
dependent code (e.g. the main() function) calls a function
On 05/23/2011 08:42 PM, Sanatan Rai wrote:
On 23 May 2011 17:46, Michael Hertling mhertl...@online.de wrote:
In summary, this whole issue is not related to C++ or even to CMake,
but to the manner static libraries are handled: The linker - at least
the GNU one - picks out entire object files
On 05/23/2011 01:39 PM, Marcel Loose wrote:
On Mon, 2011-05-23 at 07:21 -0400, David Cole wrote:
On Mon, May 23, 2011 at 4:13 AM, Marcel Loose lo...@astron.nl wrote:
Hi all,
A colleague of mine reported a bug in our CMake-base build
system when
doing
On 05/27/2011 11:46 AM, Michael Wild wrote:
On 05/26/2011 06:45 PM, aaron_wri...@selinc.com wrote:
From: Michael Wild them...@gmail.com
To: cmake@cmake.org
Date: 05/25/2011 10:08 PM
Subject: Re: [CMake] Cannot find source file: *.rc
Sent by: cmake-boun...@cmake.org
On 05/25/2011 11:40 PM,
On 05/26/2011 09:42 PM, J Decker wrote:
It's a windows XP target, so symlinks aren't doable...
On Thu, May 26, 2011 at 12:12 PM, Alexander Neundorf
a.neundorf-w...@gmx.net wrote:
On Thursday 26 May 2011, J Decker wrote:
How do I install a single target as multiple names? (for something like
On 05/30/2011 02:58 AM, Campbell Barton wrote:
Checking if this is possible since its quite verbose to have the same
command 4 times, one for each configuration.
For blender3d on windows we need to extract python into the install
dir since we bundle it.
This command looks like this:
---
On 05/30/2011 12:54 PM, Campbell Barton wrote:
On Mon, May 30, 2011 at 1:55 AM, Michael Hertling mhertl...@online.de wrote:
On 05/30/2011 02:58 AM, Campbell Barton wrote:
Checking if this is possible since its quite verbose to have the same
command 4 times, one for each configuration
On 05/30/2011 09:30 AM, Marcel Loose wrote:
Look at the following project for an
example:
#
On 06/07/2011 02:20 PM, Bjørn Forsman wrote:
Hi all,
As far as I can tell, all Qt programs built with CMake must include
QT_USE_FILE after find_package(). So why doesn't FindQt4.cmake simply
include QT_USE_FILE itself? Is there maybe a use case where
QT_USE_FILE is *not* wanted?
Yes, there
On 06/07/2011 06:58 PM, Michael Wild wrote:
On 06/07/2011 06:23 PM, Bjørn Forsman wrote:
2011/6/7 Michael Wild them...@gmail.com:
On 06/07/2011 03:38 PM, Bjørn Forsman wrote:
Why not put find_package(Qt4) in the sub directories where it is actually
used?
And if it is used in multiple
On 06/07/2011 09:13 PM, Bjørn Forsman wrote:
2011/6/7 Michael Wild them...@gmail.com:
If the FindXXX.cmake file called add_definitions(),
include_directories() et al., that could be potentially harmful. Some
sources might required that some define is not set, or a wrong header
file might be
On 06/09/2011 07:13 AM, Andreas Naumann wrote:
Am 08.06.2011 20:43, schrieb Andreas Pakulat:
On 08.06.11 20:00:54, Andreas Naumann wrote:
Am 08.06.2011 15:02, schrieb Eric Noulard:
2011/6/8 Andreas Naumannandreas-naum...@gmx.net:
Am 08.06.2011 11:56, schrieb Eric Noulard:
On 06/09/2011 03:34 PM, Dominik Szczerba wrote:
Hi,
I have a big project with several subfolders. In one subfolder's cmake
file I have e.g.
INSTALL(TARGETS test DESTINATION ${CMAKE_INSTALL_PREFIX} CONFIGURATIONS
RELEASE)
Now when I call make install on linux or build INSTALL project
On 06/09/2011 01:08 PM, Rolf Eike Beer wrote:
Hi,
I see strange rpath in binaries inside the build tree, linked in such
a way that these can run from the build tree. In some cases the rpath
list contains a fairly large amount of :-s, sometimes only one at
the end. Already one colon is
On 06/09/2011 08:18 AM, Andreas Naumann wrote:
Am 09.06.2011 07:35, schrieb Michael Hertling:
On 06/09/2011 07:13 AM, Andreas Naumann wrote:
Am 08.06.2011 20:43, schrieb Andreas Pakulat:
On 08.06.11 20:00:54, Andreas Naumann wrote:
Am 08.06.2011 15:02, schrieb Eric
On 06/08/2011 07:26 AM, Campbell Barton wrote:
There were some system headers giving warnings compiling on linux,
since I like to have warnings as errors, and not edit system headers,
I used:
include_directories(SYSTEM dir1 dir2 ...)
... for system directories only.
However this does not
On 06/07/2011 07:29 PM, David Hunter wrote:
Hi,
I have a number of projects which contain mostly sub-directories with
standard C++. I currently build all this stuff on Linux and Windows
and everything is great. However I have a couple of directories in
these projects which contain managed
1 - 100 of 708 matches
Mail list logo