Re: [cmake-developers] C++ IDE

2017-08-09 Thread Wesley Smith
I have been really impressed with VSCode . On Sun, Aug 6, 2017 at 1:52 PM, Ivam Pretti wrote: > Can you recomend an IDE to code in C/C++? > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: >

[Cmake-commits] CMake branch, master, updated. v3.9.0-455-g1b63d7c

2017-08-09 Thread Kitware Robot
_VERSION_MINOR 9) -set(CMake_VERSION_PATCH 20170809) +set(CMake_VERSION_PATCH 20170810) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [CMake] CMake equivalent to Boost.Build site-config.jam oruser-config.jam

2017-08-09 Thread Brian Davis
On Tue, Aug 8, 2017 at 2:31 PM, Lectem wrote: > I think that you are looking for the toolchain files : > > https://cmake.org/cmake/help/v3.0/manual/cmake-toolchains.7.html > > > > The other option is to use a cmake script to specify your variables which > includes

Re: [CMake] find_package( ITK ) with ITK version 4.8 and cmake 3.9.0-rc6 (3.1+ anyway) is like finding Dory

2017-08-09 Thread Luis Caro Campos
Hi Brian, What is the version passed to cmake_minimum_required for your project? (Typically the first line in your top-level CMakeLists.txt). I suspect if you set it to a version higher than 3.1 the warnings will disappear (I believe it is set to a version older than that, hence the policy

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Brian Davis
Yes PreLoad.cmake was/is exactly what I am looking for. I tested it and it works minus the bit about it not workging with: set( CMAKE_GENERATOR_PLATFORM "Visual Studio 12 2013 Win64" ) but hey it's 99.99 percent of what I need. Now only if I could find that say in the documentation! Thanks

[CMake] find_package( ITK ) with ITK version 4.8 and cmake 3.9.0-rc6 (3.1+ anyway) is like finding Dory

2017-08-09 Thread Brian Davis
I am so lost in CMB0054 errors I and internet searches I can't remember why I wanted Itk-4.8 in the first place. Here goes: When using CMake 3.9.0-rc6 or basically 3.1+ (onward) and trying: find_package( ITK ) with 4.8 built / installed and receiving: CMake Warning (dev) at

Re: [CMake] HOWTO cmake compatiblity?

2017-08-09 Thread Steffen Dettmer
Hi, > > > So far I think we need to install cmake into a versionized > > > directory and invoke it: I tested with versionized directory and it works really well. For example when having a symlink /opt/toolchain/1.0.0/bin/cmake -> /opt/cmake/3.6.2/bin/cmake it can be used as: $ export

[CMake] file timestamp with symbolic link under Windows

2017-08-09 Thread Manu
Hello CMakers, I recently switched from CMake 2.8.12 to 3.8.2 and the behaviour of file(TIMESTAMP MyFile MyFileTimestamp) changed when MyFileis a symbolic link under Windows. In 2.8.12 the funtion was reporting of the actual file timestamp pointed by the symbolic link. In 3.8.2 the funcitons

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Craig Scott
Something which may be helpful for projects which don't have direct support for optional config is to hook into their project() command. You can set the CMAKE_PROJECT__INCLUDE

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Jean-Michaƫl Celerier
That's a very useful feature to have! Ideally CMake would also try to load it recursively up to the "/" folder just like for instance clang-format or clang-tidy look for their configuration folders upwards. This would allow for instance to easily build all the projects in a certain folder in

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Cristian Adam
On Tue, Aug 8, 2017 at 8:08 PM, Brian Davis wrote: > > Is there a CMake equivalent to a site-config.jam or user-config.jam > > http://www.boost.org/build/doc/html/bbv2/recipies/site-config.html > > basically a CMake file the user can put in a project directory that CMake >

Re: [CMake] CMake equivalent to Boost.Build site-config.jam oruser-config.jam

2017-08-09 Thread Xavier Besseron
Hi all, >From my understanding, the toolchain files are only inteneded for cross-compilation and I'm afraid you will run in some kind of troubles if you try to use it for something else. As far I know, this feature you describe does not exist in CMake. However I have a piece of CMake code that