Re: [CMake] make_directory deprecated. What's the correct solution to generate directories at build time now?

2016-10-11 Thread iosif neitzke
I think only the cmake script command make_directory is deprecated, not the cmake command-line tool -E mode make_directory? On Tue, Oct 11, 2016 at 5:21 PM, Paulo Waelkens wrote: > Hello, > > to create a cmake directory at build time > (http://stackoverflow.com/questions/3702115/creating-a-direct

[CMake] make_directory deprecated. What's the correct solution to generate directories at build time now?

2016-10-11 Thread Paulo Waelkens
Hello, to create a cmake directory *at build time* ( http://stackoverflow.com/questions/3702115/creating-a-directory-in-cmake) you could use add_custom_target(build-time-make-directory ALL COMMAND ${CMAKE_COMMAND} -E make_directory ${directory}) *"make_directory"* is now listed as deprecated

Re: [CMake] How to use the plugin Geodesic Measurement

2016-10-11 Thread David E DeMarle
I Miguel, I think you intended this question for the ParaView mailing list, not the CMake one. cheers David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Oct 11, 2016 at 4:33 PM, Salazar De Troya, Miguel < salazardet...@llnl.gov>

[CMake] How to use the plugin Geodesic Measurement

2016-10-11 Thread Salazar De Troya, Miguel
Hello I loaded the Geodesic Measurement plugin with the Plugin Manager, but I do not know how to use it. I see it as a filter option, but it is disabled even for point-based data. I haven’t been able to find an example either. I am interested in finding the shortest path between two points in a

Re: [CMake] [SOLVED] RE: Crosscompilation woes

2016-10-11 Thread Robert Bielik
Thanks Chuck, It now actually is a one step automatic build, where the CMake initial pass creates the host tools, sets up CMake cache vars for them, then when the CMake step is finished I can just run make and it all works out fine. The key issue was unsetting CC and CXX env vars during the cre

Re: [CMake] [SOLVED] RE: Crosscompilation woes

2016-10-11 Thread Chuck Atkins
In VTK and ParaView we use a manual two-step build. The first pass configures a host build of the cross-compile utilities and the second pass configures a target build with a toolchain file, which requires you tell it where the host tools are. So the build process looks like this: mkdir build_ho