[CMake] Visual Studio 2017 could not be found if installed in non-default location

2017-03-26 Thread HarpyWar
*CMake could not find Visual Studio 2017 and stops with error:* -- The CXX compiler identification is unknown Initially Visual Studio Community was installed in path: E:\Microsoft But actually part of files are also located in default installation path: C:\Program Files (x86)\Microsoft Visual St

Re: [CMake] Is it possible to run ctest outside build tree?

2017-03-26 Thread Craig Scott
Not sure if this is the sort of thing you are looking for, but you can use the cmake -E chdir command as a way to run an arbitrary command from another directory without having to create any extra scripts, perform shell logic, etc. For example: cmake -E chdir /my/build/tree ctest On Sun,

Re: [CMake] Is it possible to run ctest outside build tree?

2017-03-26 Thread Dvir Yitzchaki
How about cmake --build /my/build/tree --target test Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Friday, March 24, 2017 13:04 To: CMake Mailinglist Subject: [CMake] Is it possible to run ctest outside build tree? Is possible to run ctest outside t

Re: [CMake] Is it possible to run ctest outside build tree?

2017-03-26 Thread Eric Noulard
This works but it is not possible to pass filtering argument (-L or -R) to ctest this way. Le 26 mars 2017 10:13, "Dvir Yitzchaki" a écrit : > How about > > > > cmake --build /my/build/tree --target test > > > > Regards, > > Dvir > > > > *From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf