Re: [CMake] CMake Reports Incorrect HDF5 Libraries on OS X after 3.6.0 Upgrade

2016-07-13 Thread Breannan Smith
Rad, I can verify that the issue is resolved in the git repo if anyone else is running into the bug. Thanks! On Tue, Jul 12, 2016 at 5:12 AM, Robert Maynard wrote: > Hi Breannan, > > You can track the status of the fix at > https://gitlab.kitware.com/cmake/cmake/merge_requests/34 > > On Mon, Jul

Re: [CMake] excluded from build in Visual Studio project

2016-07-13 Thread Guillaume Dumont
Hi, I think you can add any files to a library/executable target and they will show up in the IDE. If the files are actual source code files such as .cpp/.c/.cxx you can set HEADER_FILE_ONLY property on them so that they do no get compiled when the target is built the https://cmake.org/cmake/help/

Re: [CMake] excluded from build in Visual Studio project

2016-07-13 Thread Craig Scott
Somewhat related, the following thread from a few days ago may be helpful: http://public.kitware.com/pipermail/cmake/2016-July/063897.html In short, you probably want to use add_custom_target() without the ALL keyword. On Thu, Jul 14, 2016 at 8:35 AM, Michael Legleux wrote: > I have a use ca

[CMake] excluded from build in Visual Studio project

2016-07-13 Thread Michael Legleux
I have a use case that I haven't had much luck googling. I have a project that needs to have files visible in the Visual Studio IDE but marked with the red "Excluded from build" symbol. The source files are not needed in any way for the visual studio project, but for example, they use functions de

Re: [CMake] Splitting in multiple directories

2016-07-13 Thread Alexander Neundorf
On Tuesday 12 July 2016 09:00:43 portolan wrote: > Hello, > > I am new to Cmake and I have a pretty strange behaviour: I set my c+++ > project to work with a single CMakefile.txt, and now I am trying to have > a more proper version with a .txt for each subdirectory > > Pretty normal stuff, my sou

Re: [CMake] Does Makefile generated by CMake support make -jN?

2016-07-13 Thread Chuck Atkins
> > Thanks for your analysis for me Andrew. I can't use "-j" options, i think > the reason is the project i dealed with is not parallel. Thus when i use "make > -jN", it couldn't work correctly every time. Obviously it caused by the > Makefile generated by CMake, so i wonder if there are some CMak

[CMake] ANN: CMake Course - October 10 in Lyon, France

2016-07-13 Thread Julien Jomier
Kitware will be holding a CMake training course on October 10, 2016 at Kitware's office in Lyon, France. This one-day course will cover CMake, CTest, CPack and CDash. Visit our website for more information and registration details (early registration and student discounts available): http