Re: [CMake] execute_process, cmd /c and vcvarsall

2016-06-10 Thread Adam Rankin
lin...@gmail.com> Cc: Adam Rankin <aran...@robarts.ca>; cmake@cmake.org Subject: Re: [CMake] execute_process, cmd /c and vcvarsall The easiest way to do what you want here is to make a standalone script (*.bat / *.cmd) that runs the commands you want and get it to work without CMake involv

[CMake] execute_process, cmd /c and vcvarsall

2016-06-09 Thread Adam Rankin
Hello all, I am trying to develop a execute_process command that will first load the env variables set by the appropriate vcvarsall, and then run a compile command. See here for my progress so far: set(cuda_generation_command cmd /c "\"call

[CMake] ExternalProject_Add support for git clone -o option

2016-01-15 Thread Adam Rankin
Hello all, I am reading through the ExternalProject source for 3.2 at the moment (if updating to 3.4 is the answer, great!) and trying to determine if there is support for the -o option when using a git repository. Has anyone accomplished this? I would like to have names other than "origin"

Re: [CMake] ExternalProject_Add support for git clone -o option

2016-01-15 Thread Adam Rankin
as the git_tag implementation. My implementation makes the git remote name completely optional and defaults to "origin". Regards, Adam -Original Message- From: Nicholas Braden [mailto:nicholas11bra...@gmail.com] Sent: Friday, January 15, 2016 12:02 PM To: Adam Rankin <aran...@robarts.

Re: [CMake] ExternalProject_Add support for git clone -o option

2016-01-15 Thread Adam Rankin
holas11bra...@gmail.com] Sent: Friday, January 15, 2016 12:02 PM To: Adam Rankin <aran...@robarts.ca> Cc: cmake@cmake.org Subject: Re: [CMake] ExternalProject_Add support for git clone -o option Why would you like to have names other than origin? I am struggling to think of a use case for this, see

Re: [CMake] xyz_LIBRARIES

2016-02-03 Thread Adam Rankin
, Adam From: Craig Scott [mailto:audiofana...@gmail.com] Sent: Wednesday, February 03, 2016 4:26 PM To: Adam Rankin <aran...@robarts.ca> Cc: cmake@cmake.org Subject: Re: [CMake] xyz_LIBRARIES On 4 February 2016 at 04:45, Adam Rankin <aran...@robarts.ca<mailto:aran...@robarts.ca>

[CMake] xyz_LIBRARIES

2016-02-03 Thread Adam Rankin
Hello all, I am trying to sort out a project with multiple layers of dependencies and I am trying to figure out the "right" way of configuring things. First easy question: Should a value xyz_LIBRARIES contain target names, or library file locations? Second question: Should a FindXYZ.cmake

Re: [CMake] [Visual Studio] Is it possible to specify a different target architecture?

2016-06-28 Thread Adam Rankin
Well now don’t I feel silly… Thanks! Adam From: Benjamin Ballet [mailto:bbal...@ivsweb.com] Sent: Tuesday, June 28, 2016 9:59 AM To: Adam Rankin <aran...@robarts.ca> Cc: cmake@cmake.org Subject: Re: [CMake] [Visual Studio] Is it possible to specify a different target architecture? Hi

[CMake] [Visual Studio] Is it possible to specify a different target architecture?

2016-06-28 Thread Adam Rankin
Hello all, I am wondering if there exist CMake commands/variables to specify for Visual Studio to have the project file(s) generated target a different architecture than the one associated with that version of Visual Studio. For example, I develop in VS2015, but would like to target the VS2012

[CMake] [Visual Studio] Universal Windows Platform projects

2016-07-06 Thread Adam Rankin
Hello all, I've been trying to identify the correct variables to set to create a UWP project using VS2015, and the projects generated are missing a few critical tags. I'm using CMAKE_SYSTEM_NAME=WindowsStore and CMAKE_SYSTEM_VERSION=10.0. This correctly identifies and sets the target platform

[cmake-developers] Patch for ExternalProject_Add git clone -o support

2016-01-15 Thread Adam Rankin
Hello all, As per my inquiry on the users mailing list, I have implemented support for the -origin parameter of git clone. It is backwards compatible as the parameter is optional and defaults to "origin". Example use case: After using ExternalProject_Add to download and built a supporting

[cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigurations

2016-02-03 Thread Adam Rankin
Hello all, I am exploring FindZLIB.cmake and FindPNG.cmake and they both use SelectLibraryConfigurations.cmake. The macro in this file populates xyz_LIBRARIES with library file locations. I am wondering if it should not be populating _LIBRARIES variable with target names? Can it even possibly

Re: [cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigurations

2016-02-03 Thread Adam Rankin
by reading if you have any recommended resources. Cheers, Adam > On Feb 3, 2016, at 12:54 PM, Brad King <brad.k...@kitware.com> wrote: > >> On 02/03/2016 12:47 PM, Adam Rankin wrote: >> I am wondering if it should not be populating _LIBRARIES variable >> with target names?

Re: [cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigurations

2016-02-03 Thread Adam Rankin
. Adam -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, February 03, 2016 1:36 PM To: Adam Rankin <aran...@robarts.ca> Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigur

Re: [cmake-developers] Debugger for CMake

2017-01-30 Thread Adam Rankin
+1 Wish this existed since forever. Cheers, Adam From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Justin Berger Sent: Monday, January 30, 2017 11:10 AM To: cmake-developers@cmake.org Subject: [cmake-developers] Debugger for CMake I've made a proof of concept for

[cmake-developers] CMAKE_CXX_STANDARD seems to be ineffective (Ubuntu 14.04)

2016-12-01 Thread Adam Rankin
Hello all, I have switched my project over to using the CMAKE_CXX_STANDARD variable and it does not seem to be recognized by the ITK external project that I configure/build. The project does not build (ITK tag 4.10.0) with CMAKE_CXX_STANDARD:STRING=11, but does build with