Re: [CMake] Selecting /Ox when compiling with VisualC++

2011-10-14 Thread Radio młodych bandytów
Thank you, it worked. On 2011-10-13 16:35, David Cole wrote: As this grep from a Visual Studio build tree shows, the variables containing /O compiler flags are the configuration-specific variables: $ grep /O CMakeCache.txt CMAKE_CXX_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1

Re: [CMake] Separating SET_TARGET_PROPERTIES() for different configurations

2011-10-14 Thread Daniel Dekkers
Hi, I don't think the [variant=###] method works to separate SET_TARGET_PROPERTIES() to different configurations in Xcode (4.0.2). If I try this (simple example)... SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES XCODE_ATTRIBUTE_COMPRESS_PNG_FILES[variant=Debug] YES ) SET_TARGET_PROPERTIES(

[CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread Mario Rodríguez
Hi, I've reported an issue to Ms VS 2010 developer team and they have told me that its a corrupted project settings problem: http://social.msdn.microsoft.com/Forums/en/msbuild/thread/ceb35fc3-c8b3-49f9-b124-2fb5f8c7d5f0 since I use VS 2010 SP1, when I modify only one file of a project, then

Re: [CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread David Cole
If you're asking us what to do about this, then perhaps just blow your build tree away and regenerate a new one...? If it's really a corrupted project settings file, then you can just blow away the project settings files and the problem should be gone. If you're simply reporting this issue here

[CMake] Common CMake setup for several projects

2011-10-14 Thread Paul Hansen
Hi Is it possible to make a common CMake setup that can be used in several projects? The projects are independant but do use common libraries. Would be nice to set this up in one place and not in the CMakeLists.txt for each project. Can it be done preprocessor-like: #include

Re: [CMake] complete change of compilation flags for a single file

2011-10-14 Thread Michael Hertling
On 10/11/2011 11:42 AM, Ilias Miroslav wrote: Dear experts, within our cmake project there are needs to change compilation flags of some individual files, especially we want sometimes to decrease optimization level. For that there is a command set_source_file_properties, but among

Re: [CMake] Common CMake setup for several projects

2011-10-14 Thread John Drescher
On Fri, Oct 14, 2011 at 7:33 AM, Paul Hansen paul.hansen.n...@gmail.com wrote: Hi Is it possible to make a common CMake setup that can be used in several projects? The projects are independant but do use common libraries. Would be nice to set this up in one place and not in the

Re: [CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread Mario Rodríguez
Doing cmake from scratch doesnt help, it seems to have the same behaviour always... Same application with same CMakelist.txt files with CMake VS2008 project generator works fine, so CMake structure is OK. So the answer is that I'm asking how can I manage to create a correct project. 2011/10/14

Re: [CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread Rolf Eike Beer
Doing cmake from scratch doesnt help, it seems to have the same behaviour always... Same application with same CMakelist.txt files with CMake VS2008 project generator works fine, so CMake structure is OK. So the answer is that I'm asking how can I manage to create a correct project. You

Re: [CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread Wolfgang Maus
Mario Rodríguez shiv4k@... writes: Hi, I've reported an issue to Ms VS 2010 developer team and they have told me that its a corrupted project settings problem: http://social.msdn.microsoft.com/Forums/en/msbuild/thread/ceb35fc3-c8b3-49f9-b124-2fb5f8c7d5f0 since I use VS 2010 SP1,

Re: [CMake] Delivering imported libraries with binaries on Linux

2011-10-14 Thread Michael Hertling
On 10/12/2011 07:38 PM, Harelick, Matthew wrote: Hello: I am working on a project that relies on third party libraries, for example MyVendor.so. I am using cmake 2.6. [...] Uh-oh... No chance to upgrade? [...] When the third party shared object is checked out, it is installed in

Re: [CMake] Project that compiles all the files when a single file is modified

2011-10-14 Thread Mario Rodríguez
Date: Fri, 14 Oct 2011 14:28:29 + (UTC) From: Wolfgang Maus w.m...@magmasoft.de Subject: Re: [CMake] Project that compiles all the files when a single file is modified To: cmake@cmake.org Message-ID: loom.20111014t162225-...@post.gmane.org Content-Type: text/plain; charset=utf-8

Re: [CMake] install() question

2011-10-14 Thread Hendrik Sattler
On Thu, 13 Oct 2011 12:09:41 -0500, Robert Dailey wrote: First of all I'm using cmake 2.8.6 and generating Visual Studio 2003 projects with it. There is a particular project that needs to first copy its header files to a specific directory in a specific structure. After that, all other

Re: [CMake] install() question

2011-10-14 Thread Robert Dailey
On Fri, Oct 14, 2011 at 11:22 AM, Hendrik Sattler p...@hendrik-sattler.dewrote: Yes. Compilation of a project should always be possible without polluting the system. For other programs or libraries in the same source tree, install() is not the right thing. You have several options: a)

Re: [CMake] cmake and multiple projects, targets and versions

2011-10-14 Thread Alexander Neundorf
On Friday 14 October 2011, Gints Gailītis wrote: Hi cmake list! I've been playing around with cmake for a couple of weeks now, and am loving (almost) every minute of it. A thing I really like about cmake and that I feel will add the greatest value for me, besides the cross-platform

[CMake] CTest of multiple projects

2011-10-14 Thread Tim Gallagher
Hi, Is it possible to make CTest aware of other CTest things going on? For example, let's say I have a continuous build set up for two different projects, and each has 1 test in it that uses all the processors in the machine. Is it possible to set it up in a such a way that the two different

Re: [CMake] CTest of multiple projects

2011-10-14 Thread David Thompson
Hi Tim, Is it possible to make CTest aware of other CTest things going on? For example, let's say I have a continuous build set up for two different projects, and each has 1 test in it that uses all the processors in the machine. Is it possible to set it up in a such a way that the two

[CMake] Transitively including dependency source directories

2011-10-14 Thread Robert Dailey
If I have the following target dependency chain: A B C D Then target D must have the include directories (defined on a per project basis with a cache variable currently) for C, B, and A. Right now I'm trying to implement the logic for this myself using macro recursion, but as of right now I

[Cmake-commits] CMake branch, next, updated. v2.8.6-1580-gb32ebc8

2011-10-14 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b32ebc8d65e76d77a354e0666fe6261082789dbc (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.6-37-geb11e0b

2011-10-14 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via eb11e0b9ac0933a0c1c7bbba06d08e4f035bd59f (commit) from