[CMake] Is now VS2008 plug-in broken too?

2014-02-25 Thread Andrea Galeazzi
Lately, I don't know why, my VS 2008 solution starts showing a very similar behavior to http://public.kitware.com/Bug/view.php?id=14680 . When a CMakeLists.txt changes, the IDE (VS2008) doesn't show a dialog asking if you want to reload the solution (as it always did before), but it goes head an

Re: [CMake] Eclipse: sources out of CMakeLists directory

2013-11-26 Thread Andrea Galeazzi
e generator would be closer to the VS's one. Il 26/11/2013 14.58, Eric Noulard ha scritto: 2013/11/26 Andrea Galeazzi : In many of my subprojects I've got some sources outside of CMakeLists directory. This is an example: C:\Product1\project1\CMakeLists.txt C:\SharedFiles\dir1\foo.cpp C

[CMake] Eclipse: sources out of CMakeLists directory

2013-11-26 Thread Andrea Galeazzi
In many of my subprojects I've got some sources outside of CMakeLists directory. This is an example: C:\Product1\project1\CMakeLists.txt C:\SharedFiles\dir1\foo.cpp C:\SharedFiles\dir1\foo.h Unfortunately Eclipse doesn't show them in the Project Explorer view. Should it be possible to request a

Re: [CMake] target_link_libraries fails dependencies

2012-11-15 Thread Andrea Galeazzi
Il 14/11/2012 13.01, Andreas Pakulat ha scritto: Hi, On Wed, Nov 14, 2012 at 12:34 PM, Andrea Galeazzi wrote: I'm using cmake_policy(SET CMP0015 NEW) to link external libraries (I don't have the sources of them) in order to avoid to specify the absolute path of each library. So I

[CMake] target_link_libraries fails dependencies

2012-11-14 Thread Andrea Galeazzi
I'm using cmake_policy(SET CMP0015 NEW) to link external libraries (I don't have the sources of them) in order to avoid to specify the absolute path of each library. So I wrote the following commands: link_directories(path1 path2 ...) target_link_libraries(${my_TARGET_NAME} lib1 lib2) but when

Re: [CMake] parallel make -j N

2012-01-20 Thread Andrea Galeazzi
Title: korg Firma Andre Heider ha scritto: On Tue, Jan 17, 2012 at 10:32 AM, Andrea Galeazzi wrote: Yes but I'm using MinGW make (on Windows machine), the interpreter is GNU make on Windows doesn't support the jobserver, so whenever you Makefile starts an

Re: [CMake] parallel make -j N

2012-01-17 Thread Andrea Galeazzi
I manually launched: c:\..\cs-make.exe -j 2 -f CMakeFiles\Makefile2 all In this way I reduced the build time from 25 min to 14 min. Could MinGW-make have a different behavior from gmake? -Andrea Il 16/01/2012 18.37, Bill Hoffman ha scritto: On 1/16/2012 12:10 PM, Andrea Galeazzi wrote: I generated

[CMake] parallel make -j N

2012-01-16 Thread Andrea Galeazzi
I generated a MakeFile Project (MinGW) and I'd like to speed up the build process using -j N option. So I launched: "make -j 2 all". Unfortunately I noticed that the Makefile, generated by CMake self, contains this row: $(MAKE) -f CMakeFiles\Makefile2 all , so Makefile2 won't be executed in par

[CMake] An Italian article about CMake

2011-11-08 Thread Andrea Galeazzi
I'm glad to inform you that I recently wrote an article about CMake published in the Italian computer science magazine IoProgrammo (www.ioprogrammo.it ) on November issue. A next one is gonna be published on December. I seize this opportunity to congratulate all the

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-10-04 Thread Andrea Galeazzi
Many many thanks! David Cole ha scritto: I will be building the final CMake 2.8.6 today, and uploading by the end of the day. Keep your eye on the mailing list for the official announcement. On Tue, Oct 4, 2011 at 4:19 AM, Andrea Galeazzi <galea...@korg.it>

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-10-04 Thread Andrea Galeazzi
This is the last rc before the final release, unless somebody finds a showstopper issue between now and next Thursday. Do you think you're gonna release in the next few days? Sorry to insist, but I've been keeping on hold all my team since the release of rc3, so if you think that it'll take lon

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-10-03 Thread Andrea Galeazzi
Il 23/09/2011 7.36, Alan W. Irwin ha scritto: On 2011-09-22 16:14-0400 David Cole wrote: Please try this version of CMake on your projects and report any issues to the list or the bug tracker. Happy building! Hi Dave: I have done fairly exhaustive tests of the PLplot build and test system u

[CMake] CTest and CDash for CI

2011-09-26 Thread Andrea Galeazzi
I'm currently evaluating a good tool to introduce a continuous integration model in my workflow. Because I use CMake to manage all my projects, I'd like to also use CTest/CDash in order to accomplish such task. I start to read something about it but I didn't find the right answers to some quest

Re: [CMake] Fwd: Save stripped debugging information

2011-09-22 Thread Andrea Galeazzi
Il 22/09/2011 10.13, Rolf Eike Beer ha scritto: Yeah, that's exactly what I had in mind. Any chance that we will see this in a future release? This is usually "find someone who does it and writes tests for it". Which then boils down to find someone who has enough knowledge and spare time to do o

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Andrea Galeazzi
David Cole ha scritto: The CMake 2.8.6 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available on the Kitware blog at http://www.kitware.com/blog/home/post/165 If you want to test this out and ask for a

Re: [CMake] CMake 2.8.6-rc2 ready for testing!

2011-09-05 Thread Andrea Galeazzi
demonstrably regression problems from previous versions.... Thanks, David On Mon, Sep 5, 2011 at 11:58 AM, Andrea Galeazzi wrote: <> Could someone take a look at 0012294 please? David Cole ha scritto: The CMake 2.8.6 release candidate stream continues! You can find the source and binari

Re: [CMake] CMake 2.8.6-rc2 ready for testing!

2011-09-05 Thread Andrea Galeazzi
<> Could someone take a look at 0012294 please? David Cole ha scritto: The CMake 2.8.6 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available on the Kitware blog at http://www.kitware.com/blog/home/po

Re: [CMake] CMake 2.8.6-rc1 ready for testing!

2011-08-30 Thread Andrea Galeazzi
Hi, I'd like to know if the bug 0011258 will be fixed or the community simply decided to give it up. Any changes for 0012294 to be assigned? Cheers and Congratulation for the great work! Il 26/08/2011 21.47, David Cole ha scritto: I am happy t

Re: [CMake] CMake 2.8.5-rc2 ready for testing!

2011-06-21 Thread Andrea Galeazzi
David Cole ha scritto: On Mon, Jun 20, 2011 at 6:11 AM, Kalev Lember wrote: Could you please pull in the following commit from -next into next rc? It fixes a regression with locating swig executable in FindSWIG module. commit b09ae90badc17d5102b273d2bcfe11ebe

Re: [CMake] add_subdirectory and eclipse project

2011-06-20 Thread Andrea Galeazzi
Il 12/02/2011 19.58, Alexander Neundorf ha scritto: On Friday 11 February 2011, Andrea Galeazzi wrote: Alexander Neundorf ha scritto: On Wednesday 09 February 2011, Andrea Galeazzi wrote: Il 08/02/2011 17.58, Alexander Neundorf ha scritto: On Tuesday 08 February 2011, Andrea Galeazzi wrote

Re: [CMake] CMake 2.8.5-rc1 ready for testing!

2011-06-15 Thread Andrea Galeazzi
I think it would be great if http://public.kitware.com/Bug/view.php?id=11258 could be fixed in 2.8.5. Without such a fix VS2010 will keep on being useless. Il 14/06/2011 17.21, Tyler ha scritto: I believe you're way too late for 2.8.5, but there should be a call for bugs for 2.8.6 coming along

Re: [CMake] 2.8.5 version

2011-05-23 Thread Andrea Galeazzi
Any news about the deadline of 2.8.5 release? Andrea Il 16/02/2011 11.52, Michael Wild ha scritto: On 02/16/2011 11:40 AM, Andrea Galeazzi wrote: IL 15/02/2011 21.59, David Cole ha scritto: 2011/2/15 Alexander Neundorfmailto:a.neundorf-w...@gmx.net>> On Monday 14 February 2011,

Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Andrea Galeazzi
No, you can only add the compile definitions to the other files. You should split all files into two lists and set the compile definition for unicode to just one. Andrea Il 19/05/2011 7.57, Robert Bielik ha scritto: Robert Bielik skrev 2011-05-19 07:55: Hi, CMake 2.8.4 , MSVC generators: I h

Re: [CMake] add_dependencies behaviuor

2011-05-18 Thread Andrea Galeazzi
ou're seeing. tyler On Wed, May 18, 2011 at 2:27 AM, Andrea Galeazzi wrote: I've multiple executable targets depending on a custom target that invokes another executable target: add_executable(MyTool  ${MyTool_SOURCES}) add_custom_target(PreBuildCom

[CMake] add_dependencies behaviuor

2011-05-18 Thread Andrea Galeazzi
I've multiple executable targets depending on a custom target that invokes another executable target: add_executable(MyTool ${MyTool_SOURCES}) add_custom_target(PreBuildCommands ALL COMMAND "java" "-jar" "../BuildNumberUpdater.jar"

[CMake] CLEAN_NO_CUSTOM on visual studio

2011-05-03 Thread Andrea Galeazzi
I noticed that CLEAN_NO_CUSTOM property doesn't work with VS solutions. I use this property in order to generate a file containing the incremental build number: add_custom_command(OUTPUT "./BuildNumber.h" COMMAND "myProg" ARGS "./BuildNumber.h"

[CMake] exclude build project from solution

2011-05-03 Thread Andrea Galeazzi
I've a project made up of multiple executable target: add_executable(TARGET_NAME1 ${SOURCES1}) add_executable(TARGET_NAME2 ${SOURCES2}) add_executable(TARGET_NAME3 ${SOURCES3}) ... Now I'd like to build just only TARGET_NAME1 when I press F7 (build solution) in visual studio. I tried to

Re: [CMake] CMake 2.8.4 RPMs available (finally)

2011-04-05 Thread Andrea Galeazzi
Fedora isn't listed there but is it possible to have it? Rolf Eike Beer ha scritto: The openSUSE build service now offers CMake 2.8.4 for some newer distributions (SUSE ones) for those that don't want to build themselves: https://build.opensuse.org/package/show?package=cmake&project=devel%3Atoo

[CMake] missing file causes an empty solution

2011-04-05 Thread Andrea Galeazzi
I found one possible VS2008 bug, just following these steps: 1 - Create a VS2008 solution based on a correct CMakeLists.txt 2 - Open the solution and edit CMakeLists.txt adding a non-existent file into the list of sources. 3 - Build the solution (F7 is my shortcut) 4 - It appears the message:

Re: [CMake] 2.8.5 version

2011-02-16 Thread Andrea Galeazzi
IL 15/02/2011 21.59, David Cole ha scritto: 2011/2/15 Alexander Neundorf <mailto:a.neundorf-w...@gmx.net>> On Monday 14 February 2011, David Cole wrote: > On Mon, Feb 14, 2011 at 4:14 AM, Andrea Galeazzi mailto:galea...@korg.it>> wrote: > > I'm v

Re: [CMake] add_subdirectory and eclipse project

2011-02-14 Thread Andrea Galeazzi
Il 12/02/2011 19.58, Alexander Neundorf ha scritto: On Friday 11 February 2011, Andrea Galeazzi wrote: Alexander Neundorf ha scritto: On Wednesday 09 February 2011, Andrea Galeazzi wrote: Il 08/02/2011 17.58, Alexander Neundorf ha scritto: On Tuesday 08 February 2011, Andrea Galeazzi wrote

[CMake] 2.8.5 version

2011-02-14 Thread Andrea Galeazzi
I'm very interested in the feature discussed here: http://www.mail-archive.com/cmake@cmake.org/msg34587.html but probably it won't enter into 2.8.4, so do you have any rough idea about when 2.8.5 will be released? Or better, do you have a periodic schedule planning the releases?

Re: [CMake] add_subdirectory and eclipse project

2011-02-11 Thread Andrea Galeazzi
Alexander Neundorf ha scritto: On Wednesday 09 February 2011, Andrea Galeazzi wrote: Il 08/02/2011 17.58, Alexander Neundorf ha scritto: On Tuesday 08 February 2011, Andrea Galeazzi wrote: Il 18/01/2011 19.17, Alexander Neundorf ha scritto: On Tuesday 18 January 2011

Re: [CMake] add_subdirectory and eclipse project

2011-02-09 Thread Andrea Galeazzi
Il 08/02/2011 17.58, Alexander Neundorf ha scritto: On Tuesday 08 February 2011, Andrea Galeazzi wrote: Il 18/01/2011 19.17, Alexander Neundorf ha scritto: On Tuesday 18 January 2011, Andrea Galeazzi wrote: ... I just read that wiki page but what I didn't find is how can

Re: [CMake] add_subdirectory and eclipse project

2011-02-08 Thread Andrea Galeazzi
Il 18/01/2011 19.17, Alexander Neundorf ha scritto: On Tuesday 18 January 2011, Andrea Galeazzi wrote: ... I just read that wiki page but what I didn't find is how can I see the sources referenced by the add_subproject function in the layout of eclipse project. You mean add_subdire

[CMake] eclipse possible bug

2011-01-19 Thread Andrea Galeazzi
suppose I have a project with: add_subdirectory("path/lib1" "${CMAKE_CURRENT_BINARY_DIR}/ib1") when I change a source of lib1 and click on build over the eclipse project, eclipse doesn't build anything. If I change a source of the main project it launches the build correctly. I also tried to te

Re: [CMake] MSVC 2010

2011-01-18 Thread Andrea Galeazzi
What about http://public.kitware.com/Bug/view.php?id=11258 ? Do you think it'll be fixed in 2.8.4 final release? Cheers David Cole ha scritto: Your confusion is that you are looking for a "2010" -- there isn't one -- there is "Visual Studio 10" On Tue, Jan 18, 2011 at 11:14 AM, John Dre

Re: [CMake] add_subdirectory and eclipse project

2011-01-18 Thread Andrea Galeazzi
Il 14/01/2011 13.38, Ryan Pavlik ha scritto: You probably want to read this: http://www.cmake.org/Wiki/Eclipse_CDT4_Generator Ryan On Fri, Jan 14, 2011 at 3:49 AM, Andrea Galeazzi <mailto:galea...@korg.it>> wrote: I've been puzzled over the following problem for about 3/4

Re: [CMake] add_custom_command problem

2011-01-17 Thread Andrea Galeazzi
Title: korg Firma Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi : Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi : Il 17/01/2011 12.34, Eric Noulard ha scritto: I just realized something. Do you want    A) to increase the build number EACH time you build    B) to

Re: [CMake] add_custom_command problem

2011-01-17 Thread Andrea Galeazzi
Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi : Il 17/01/2011 12.34, Eric Noulard ha scritto: I just realized something. Do you want    A) to increase the build number EACH time you build    B) to increase the build number WHEN of of the SOURCES change

Re: [CMake] add_custom_command problem

2011-01-17 Thread Andrea Galeazzi
Il 17/01/2011 12.34, Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi: Il 17/01/2011 11.09, Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi: I'm trying to invoke a program which increment the build number on a header I just realized something. Do you want A) to increase the

Re: [CMake] add_custom_command problem

2011-01-17 Thread Andrea Galeazzi
Il 17/01/2011 11.09, Eric Noulard ha scritto: 2011/1/17 Andrea Galeazzi: I'm trying to invoke a program which increment the build number on a header file. I'm currently using the following statement: add_custom_command(OUTPUT "./BuildNumber.h" COMMA

[CMake] add_custom_command problem

2011-01-17 Thread Andrea Galeazzi
I'm trying to invoke a program which increment the build number on a header file. I'm currently using the following statement: add_custom_command(OUTPUT "./BuildNumber.h" COMMAND "java" ARGS "-jar" "${TOOLS}\\BuildNumberUpdater.jar"

Re: [CMake] Is HEADER_FILE_ONLY not working in Visual Studio 2010?

2011-01-17 Thread Andrea Galeazzi
Il 15/01/2011 0.34, aaron_wri...@selinc.com ha scritto: I have a project with custom resource files in it, and unfortunately they have the same extension as real resource files, so Visual Studio tries to compile them. This obviously doesn't work. So I set the HEADER_FILE_ONLY property on these f

[CMake] retrieve the path of an object file

2011-01-14 Thread Andrea Galeazzi
Given a source file (path/foo.c), does CMake provide a way to retrieve the obj file path/filename generate by the compiler? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

[CMake] add_subdirectory and eclipse project

2011-01-14 Thread Andrea Galeazzi
I've been puzzled over the following problem for about 3/4 days: if I have a CMakeLists.txt with a lot of add_subdirectory how can I automatically generate an eclipse project (containing the source code) for each add_subdirectory? ___ Powered by www.k

[CMake] feature request for eclipse

2011-01-12 Thread Andrea Galeazzi
Suppose you have a project with a lot of sub-projects like: add_subdirectory("path1/lib1" "${CMAKE_CURRENT_BINARY_DIR}/lib1") add_subdirectory("path2/lib2" "${CMAKE_CURRENT_BINARY_DIR}/lib2") . When I choose VS as target CMake generates a solution made up of each sub-project with

Re: [CMake] redirect object output directory

2011-01-12 Thread Andrea Galeazzi
writer... intentionally. We view it as helping you avoid name clashes. Is there a reason you need to put them in a certain place? Or do you just want to have the same organization as you had before adopting CMake? Or...? HTH, David On Wed, Jan 12, 2011 at 6:54 AM, Andrea

[CMake] redirect object output directory

2011-01-12 Thread Andrea Galeazzi
Is it possible to change the default path (project.dir) where the object files (.o or .obj) are put? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-

Re: [CMake] CMake Java Support

2011-01-11 Thread Andrea Galeazzi
Andreas Schneider ha scritto: Hello CMake, my name is Andreas Schneider and I'm working for Red Hat. At the end of last year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2] is an enterprise-class open source Certificate Authority. The project is written in serveral different

[CMake] cross compilation with VS2010

2011-01-11 Thread Andrea Galeazzi
Hi, probably it could sound a weird question: has anyone ever try to generate a VS2010 solution with a different toolchain like gcc? In your opinion is it a possible goal to achieve or the differences between MSVC and GCC are so big that it's actual impossible? Cheers

[CMake] add_subdirectory and link_directories

2011-01-10 Thread Andrea Galeazzi
I've got a main project which relies on several sub-library projects, so the main CMakeLists.txt add_subdirectory("W:/Omega/Kernel" "${CMAKE_CURRENT_BINARY_DIR}/myLib1") ... and then I also specify the directory where all libraries have been built (by setting ARCHIVE_OUTPUT_DIRECTORY fo

[CMake] VS2010 solution/project reload

2011-01-04 Thread Andrea Galeazzi
I'm currently dealing with a project requiring a lot of dependencies (74), so the structure of the CMakeLists.txt is as following: project ( Main ) add_subdirectory("W:/Lib1" "${CMAKE_CURRENT_BINARY_DIR}/Lib1") add_subdirectory("W:/Lib2" "${CMAKE_CURRENT_BINARY_DIR}/Lib2") add_subdirectory("

Re: [CMake] possible bug VS2010 generation project

2010-12-16 Thread Andrea Galeazzi
entry for 11404 to this email thread on the mailing list archive. Thanks, David On Thu, Dec 16, 2010 at 7:18 AM, Andrea Galeazzi wrote: I make this very simple project in order to reproduce a possible bug: cmake_minimum_required(VERSION 2.8) project(HelloLib) set(SOURCES

Re: [CMake] possible bug VS2010 generation project

2010-12-16 Thread Andrea Galeazzi
l link the bug tracker entry for 11404 to this email thread on the mailing list archive. Thanks, David On Thu, Dec 16, 2010 at 7:18 AM, Andrea Galeazzi wrote: I make this very simple project in order to reproduce a possible bug: cmake_minimum_required(VERSION 2.8) project(HelloLib) s

[CMake] possible bug VS2010 generation project

2010-12-16 Thread Andrea Galeazzi
I make this very simple project in order to reproduce a possible bug: cmake_minimum_required(VERSION 2.8) project(HelloLib) set(SOURCES ./sayHello.cpp ./fileToExclude.c ) set_source_files_properties( ./fileToExclude.c PROPERTIES HEADER_FILE_ONLY TRUE) add_libr

Re: [CMake] Specify as in the toolchain

2010-12-03 Thread Andrea Galeazzi
Il 03/12/2010 13.15, Michael Wild ha scritto: On 12/03/2010 01:06 PM, Andrea Galeazzi wrote: How can I specify the "as" command like I do for gcc or g++ compiler in a toolchain? SET(CMAKE_C_COMPILER "C:/Programmi/development/GCCARM/bin/gcc.exe") *NEVER* s

[CMake] Specify as in the toolchain

2010-12-03 Thread Andrea Galeazzi
How can I specify the "as" command like I do for gcc or g++ compiler in a toolchain? SET(CMAKE_C_COMPILER "C:/Programmi/development/GCCARM/bin/gcc.exe") ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://

Re: [CMake] set_source_files_properties for includedirectories

2010-11-26 Thread Andrea Galeazzi
Michael Hertling ha scritto: On 11/23/2010 03:23 PM, Andrea Galeazzi wrote: Marcel Loose ha scritto: On 23-11-2010 at 10:55, in message <4ceb8f76.80...@korg.it>, Andrea Ga

[CMake] linking no specified libraries

2010-11-25 Thread Andrea Galeazzi
I currently use mingw and I noticed that in the linking phase the following options appear without specifying nothing of that: -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 How can avoid this? ___ Powe

Re: [CMake] set_source_files_properties for includedirectories

2010-11-23 Thread Andrea Galeazzi
Marcel Loose ha scritto: On 23-11-2010 at 10:55, in message <4ceb8f76.80...@korg.it>, Andrea Galeazzi wrote: In a project I've got two groups of files having different include paths. These paths have some conflicts so I need to specify just one for each fi

[CMake] set_source_files_properties for include directories

2010-11-23 Thread Andrea Galeazzi
In a project I've got two groups of files having different include paths. These paths have some conflicts so I need to specify just one for each file requires it. My first idea was to apply set_source_files_properties with a property like include_directories but I don't find anything similar. M

[CMake] codesourcery integration

2010-11-17 Thread Andrea Galeazzi
I'm facing the problem of using the cross compile toolchain of CodeSourcery. My host system in Windows and my target is ARM-Linux. I red this tutorial http://www.cmake.org/Wiki/CMake_Cross_Compiling and I tried to do something similar: # this one is important SET(CMAKE_SYSTEM_NAME Linux) #this o

[CMake] ARCHIVE_OUTPUT_DIRECTORY seems to not work

2010-11-16 Thread Andrea Galeazzi
I'm trying to compile a static library named libkernel.a into a custom path. I tried to set ARCHIVE_OUTPUT_DIRECTORY in two ways: 1: set_property(TARGET PROPERTY ARCHIVE_OUTPUT_DIRECTORY "O:/kernel/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE}") message("library output: ${ARCHIVE_OUTPUT_DIRECTORY}")

[CMake] Eciipse and multiple configuration

2010-11-16 Thread Andrea Galeazzi
I followed the tutorial at http://www.cmake.org/Wiki/Eclipse_CDT4_Generator in order to generate an Eclipse project. The only difference is that I select eclipseCDT - MiinGW Makefiles instead of eclipseCDT -Unix Makefiles". What I don't understand is how can I manage multiple configurations in

[CMake] Excluded from build

2010-10-13 Thread Andrea Galeazzi
Does CMake allow to exclude from build some files but include them in the list of project like Visual Studio or NetBeans? Cheers ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.h

[CMake] include_directories order

2010-10-05 Thread Andrea Galeazzi
I'm using include_directories in one of my projects to produce an eclipse mingw project. The problem is that even if I use the BEFORE option my include paths are alway after the mingw ones. How can I specify my own include paths to be the first ones? __

[CMake] CMAKE_CXX_COMPILER_ID empty

2010-09-27 Thread Andrea Galeazzi
hi guys, I'm trying to use the following piece of code with the VS2005 generator: message("compiler is : ${CMAKE_CXX_COMPILER_ID}") if(${CMAKE_CXX_COMPILER_ID} MATCHES MSVC) if(CMAKE_CONFIGURATION_TYPES) set(CMAKE_CONFIGURATION_TYPES Win32Debug4bytealign) set(CMAKE_CONFIG

Re: [CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Andrea Galeazzi
de pair (win32-release, win32-debug, etc). Hope this helps! Ryan On Thu, Sep 23, 2010 at 9:58 AM, Andrea Galeazzi wrote: Hi everybody, I've got a project with two configuration (Debug and Release) and two target: win32 and ARM. In your opinion what's the best way to manage a such ki

[CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Andrea Galeazzi
Hi everybody, I've got a project with two configuration (Debug and Release) and two target: win32 and ARM. In your opinion what's the best way to manage a such kind of project? As an example, in my CmakeList I have the following piece of code that works fine only for visual studio. if(CMAKE_

Re: [CMake] Build multiple lib

2010-09-22 Thread Andrea Galeazzi
Citando Michael Wild : On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote: Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.,libN) so i

[CMake] Build multiple lib

2010-09-22 Thread Andrea Galeazzi
Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.,libN) so it builds a static lib which contains all the ones. Now my problems is how to write a CMakeLis