[CMake] Generate Eclipse project with support for c++ 11

2014-12-05 Thread Luca Gherardi
Hi all, I’m writing a CMake file for a project that should be compiled both in Ubuntu and OS X. I want to use eclipse as IDE, gcc and C++ 11. I read different threads that suggest how to enable C++ 11 in eclipse. According to them I included these lines in my CMake: set(CMAKE_CXX_FLAGS

[CMake] How to manage dependencies between projects in Visual Studio

2014-02-05 Thread Luca Gherardi
. Is that possible? I know it is possible to do it with visual studio, but I don't know how to do it with CMake. Thanks in advance. -- Luca Gherardi, PhD Postdoc at ETH Zurich Institute for Dynamic Systems and Control Room

Re: [CMake] How to manage dependencies between projects in Visual Studio

2014-02-05 Thread Luca Gherardi
information. Any idea? Thanks, Luca From: Petr Kmoch [mailto:petr.km...@gmail.com] Sent: mercoledì 5 febbraio 2014 12:34 To: Luca Gherardi Cc: cmake@cmake.org Subject: Re: [CMake] How to manage dependencies between projects in Visual Studio Hi Luca. You could look into the CMake

Re: [CMake] How to manage dependencies between projects in Visual Studio

2014-02-05 Thread Luca Gherardi
And the CMakeLists of be would contain the following line: Add_subdirectory(ABSOLUT_PATH_TO_A BUILD_A) Does it make sense? Thanks! From: Petr Kmoch [mailto:petr.km...@gmail.com] Sent: mercoledì 5 febbraio 2014 14:15 To: Luca Gherardi Cc: cmake@cmake.org Subject: Re: [CMake] How to manage

[CMake] Keep folder structure in Visual Studio Project generated with CMake

2013-11-12 Thread Luca Gherardi
I have a projects in which the sources file are organizes in a hierarchy of directories. For example: - Src | - Folder A | - 1.cpp | - 1.hpp | - FolderA1 | - 2.cpp | - 2.hpp | - Folder B | - 3.cpp | - 3.hpp I wrote a CMakeLists.txt for generating a