Re: [cmake-developers] cmake server mode

2016-09-28 Thread Tobias Hunger
Hi Michele, cmake -E server mode will always trigger something in cmake, so the help will report that. I think it is nicer to report "Server mode unavailable" when somebody attempts to run "cmake -E server" when that is not available than to produce a "Unknown command". To check whether or not

[cmake-developers] cmake server mode

2016-09-28 Thread michele pagot
I'm interested in the cmake server mode. I've started from https://steveire.wordpress.com/2016/01/24/cmake-daemon-for-user-tools/ and then to https://github.com/steveire/CMake.git and finally to the cmake official git master branch as it seems e I rebuilt it from scratch on Windows trying

Re: [cmake-developers] Remove RPATH on install

2016-09-28 Thread Ruslan Baratov via cmake-developers
On 28-Sep-16 23:34, Brad King wrote: On 09/28/2016 04:09 PM, Ruslan Baratov via cmake-developers wrote: ` -Wl,-rpath,` to CMAKE_EXE_LINKER_FLAGS. That adds it in a way that hides its presence from CMake. CMake has its own way to specify RPATH entries in the build tree. It will replace the

Re: [cmake-developers] Remove RPATH on install

2016-09-28 Thread Brad King
On 09/28/2016 04:09 PM, Ruslan Baratov via cmake-developers wrote: > ` -Wl,-rpath,` to CMAKE_EXE_LINKER_FLAGS. That adds it in a way that hides its presence from CMake. CMake has its own way to specify RPATH entries in the build tree. It will replace the build-tree-only entries with

[cmake-developers] Remove RPATH on install

2016-09-28 Thread Ruslan Baratov via cmake-developers
Hi, I want to link the library to all executables in project so I'm adding ` -Wl,-rpath,` to CMAKE_EXE_LINKER_FLAGS. That works fine however after install step this RPATH was not removed and full path to remains as part of executable in LC_RPATH. As far as I understand there is no such

Re: [cmake-developers] [PATCH] Sort list of files for aux_source_directory() and file(glob, *)

2016-09-28 Thread Brad King
On 09/27/2016 08:07 PM, Junghyun Kim wrote: > 1) Add the same sort logic of the patch(#14491) to > cmAuxSourceDirectoryCommand.cxx > 2) Apply my patch and remove the sort logic of patch #14491 Please patch cmAuxSourceDirectoryCommand.cxx directly. KWSys Directory is a low-level API whose