[cmake-developers] Debugging tests added with cmake command 'add_test' from Visual Studio?

2017-10-13 Thread Robert Goulet
Hi, Is there an easy way to launch a debugging session from Visual Studio to a specific test that failed (which was added using cmake command 'add_test') using the exact same command-line arguments and working directory for the debugging settings that were used by RUN_TESTS? Thanks! --

Re: [cmake-developers] cmake 3.7.0-rc3 regression

2016-11-09 Thread Robert Goulet
Ok thanks, we'll just build CMake for all platform from now on. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, November 8, 2016 2:13 PM To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers]

Re: [cmake-developers] cmake 3.7.0-rc3 regression

2016-11-08 Thread Robert Goulet
Anyhow, here's a quick patch that fixes it. Thanks. -Original Message- From: Robert Goulet Sent: Tuesday, November 8, 2016 2:09 PM To: 'Rolf Eike Beer' <e...@sf-mail.de>; cmake-developers@cmake.org Subject: RE: [cmake-developers] cmake 3.7.0-rc3 regression Not sure I understa

Re: [cmake-developers] cmake 3.7.0-rc3 regression

2016-11-08 Thread Robert Goulet
-developers@cmake.org Cc: Robert Goulet <robert.gou...@autodesk.com> Subject: Re: [cmake-developers] cmake 3.7.0-rc3 regression Am Dienstag, 8. November 2016, 18:59:34 schrieb Robert Goulet: > Hi, > > After trying to upgrade to CMake 3.7.0-rc3, we've found the following > regression: &

[cmake-developers] cmake 3.7.0-rc3 regression

2016-11-08 Thread Robert Goulet
Hi, After trying to upgrade to CMake 3.7.0-rc3, we've found the following regression: Previously, we were able to put multiple platform CMake executables in the same root by just renaming the "bin" folder, so that they don't overlap each other, as such: cmake/win/cmake.exe cmake/mac/cmake

[cmake-developers] Starting new project with no build flags set

2016-11-04 Thread Robert Goulet
Hi all, What is the clean way to start a new project with no build flags at all. i.e. CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, etc. all set to no value? Is there a way to force this for all platforms/compilers? Thanks! -- Powered by www.kitware.com Please keep messages on-topic and check the

[cmake-developers] VS custom commands with VS variable containing space in executable path?

2016-08-26 Thread Robert Goulet
Hello, I am trying to use a custom command to generate test certificate for a Universal Windows Platform app, and I can't find how to properly quote the executable paths from CMake. Here is how we add the custom command: set(WIN64UWP_CERT_NAME "${PROJECT_NAME}_TemporaryKey")

Re: [cmake-developers] Android Support

2016-08-12 Thread Robert Goulet
That's super awesome Brad! Looking forward to try this out! -Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Brad King Sent: Friday, August 12, 2016 11:13 AM To: cmake-developers@cmake.org Subject: [cmake-developers] Android Support Hi

Re: [cmake-developers] C# support ready for review

2016-03-01 Thread Robert Goulet
-ZSEP [mailto:michael.stuer...@schaeffler.com] Sent: Tuesday, March 1, 2016 3:50 AM To: Robert Goulet <robert.gou...@autodesk.com>; Gilles Khouzam <gilles.khou...@microsoft.com>; CMake Developers <cmake-developers@cmake.org> Subject: RE: C# support ready for review

Re: [cmake-developers] C# support ready for review

2016-02-29 Thread Robert Goulet
As soon as this is merged in 'master' I will give it a try. We are extremely interested to have C# support in CMake. That is the last piece of our entire toolchain that is currently not using CMake, so it would be more than welcome to have the entire system built with CMake. Good job!

Re: [cmake-developers] Windows 10 Store App - deploy content

2016-02-26 Thread Robert Goulet
How does it work? Will this install files into the "AppX" directory at deployment step? From: Gilles Khouzam [mailto:gilles.khou...@microsoft.com] Sent: Thursday, February 25, 2016 7:44 PM To: Robert Goulet <robert.gou...@autodesk.com>; cmake-developers@cmake.org Subject: RE:

Re: [cmake-developers] Patch: refactor XCode blocks writing function

2016-02-22 Thread Robert Goulet
Yes sure no problem I will install these hooks. Thanks! -Original Message- From: Gregor Jasny [mailto:gja...@googlemail.com] Sent: Sunday, February 21, 2016 10:40 AM To: Robert Goulet <robert.gou...@autodesk.com>; cmake-developers@cmake.org Subject: Re: [cmake-developers] Patch: re

[cmake-developers] Patch: refactor XCode blocks writing function

2016-02-19 Thread Robert Goulet
(as opposed to non-UI testing), which required us to add the target ID in a nested way that wasn't supported with the previous code. I will send the XCode UI Testing patch separately. Cheers! -Robert Goulet 0001-Refactor-XCode-block-writes-to-allow-any-number-of-n.patch Description: 0001

[cmake-developers] Get the list of files that will be installed by CMake?

2015-11-26 Thread Robert Goulet
Hi all, Is there a way in CMake to get the list of files that are going to be installed when we use the install command? Some kind of CMAKE_INSTALL_FILES_LIST or something like that? We would need to get that list of files so we can add them as "Content" to our Windows 10 UWP project

[cmake-developers] MSVC_VERSION

2015-11-20 Thread Robert Goulet
? Thanks! -Robert Goulet -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org

Re: [cmake-developers] XCode Unit Test Bundle targets support

2015-11-13 Thread Robert Goulet
Ok thanks, we'll check it out! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, November 13, 2015 9:14 AM To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org; Gregor Jasny <gja...@googlemail.com> Subject: Re: [cmak

[cmake-developers] XCode Unit Test Bundle targets support

2015-11-12 Thread Robert Goulet
port any of this yet? And if no, what would be the preferable route to follow, since this seems to be XCode specific, but in the end we would probably need a command similar to add_library or add_executable, but that adds this type of target. Thanks! -Robert Goulet -- Powered by www.kitware.com Please ke

[cmake-developers] C# support status?

2015-11-02 Thread Robert Goulet
# code, and preferably we would want to generate the .csproj files with CMake as well. We are also available to test this implementation once it is merged in any CMake branch. We have the ability to test it with VS2015 if that matters. Thanks! -Robert Goulet -- Powered by www.kitware.com Please

Re: [cmake-developers] Generator expressions for install destination

2015-09-24 Thread Robert Goulet
Thanks Brad! Sent from mobile, please excuse typos. > On Sep 24, 2015, at 10:24 AM, Brad King <brad.k...@kitware.com> wrote: > >> On 09/23/2015 05:18 PM, Robert Goulet wrote: >> Here is the patch to support genex for install(DIRECTORY) command >> DESTINATION

Re: [cmake-developers] Generator expressions for install destination

2015-09-23 Thread Robert Goulet
:36 PM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for install destination Robert Goulet wrote: > Yeah I guess it could look something like this (attachment). Yes, something like that (modulo the long line). > However I > just realized that if I d

Re: [cmake-developers] Generator expressions for install destination

2015-09-23 Thread Robert Goulet
Updated patch for install(FILES) DESTINATION genex support. Test added as well. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, September 23, 2015 10:19 AM To: Robert Goulet <robert.gou...@autodesk.com>; Stephen Kelly <steve...@gmail.co

Re: [cmake-developers] Generator expressions for install destination

2015-09-23 Thread Robert Goulet
, September 23, 2015 3:03 PM To: Robert Goulet <robert.gou...@autodesk.com>; cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for install destination On 09/23/2015 01:47 PM, Robert Goulet wrote: > Updated patch for install(FILES) DESTINATION genex support. T

Re: [cmake-developers] Generator expressions for install destination

2015-09-23 Thread Robert Goulet
Here is the patch to support genex for install(DIRECTORY) command DESTINATION option. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, September 23, 2015 3:37 PM To: Robert Goulet <robert.gou...@autodesk.com>; cmake-developers@cmake.org Subje

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
, September 22, 2015 1:04 PM To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org; Stephen Kelly <steve...@gmail.com> Subject: Re: Generator expressions for install destination On 09/22/2015 09:58 AM, Robert Goulet wrote: > Patch attached for adding makefile to ins

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
] On Behalf Of Stephen Kelly Sent: Tuesday, September 22, 2015 4:00 PM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for install destination Brad King wrote: > On 09/22/2015 09:58 AM, Robert Goulet wrote: >> Patch attached for adding makefile t

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
22, 2015 4:53 PM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for install destination Robert Goulet wrote: > Ok then perhaps the refactoring can wait but we'd still like to get > install(FILES) destination genex support in 3.4 if possible, and

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, September 22, 2015 4:27 PM To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for install destination On 09/22/2015 04:00 PM, Stephen Kelly

Re: [cmake-developers] Generator expressions for install destination

2015-09-22 Thread Robert Goulet
future. Thanks. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, September 21, 2015 1:55 PM To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org Subject: Re: Generator expressions for install destination On 09/18/2015 03:49 PM, R

Re: [cmake-developers] Generator expressions for install destination

2015-09-18 Thread Robert Goulet
To: Robert Goulet <robert.gou...@autodesk.com> Cc: cmake-developers@cmake.org Subject: Re: Generator expressions for install destination On 09/09/2015 12:21 PM, Robert Goulet wrote: > Here's the patch to add generator expressions to the install command > DESTINATION option. Thanks fo

[cmake-developers] Generator expressions for install destination

2015-09-09 Thread Robert Goulet
aces to pass the config as a parameter. Imho it's better to keep refactoring in a separate patch. -Robert Goulet install-dest-genex.patch Description: install-dest-genex.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FA

Re: [cmake-developers] Default compile options

2015-08-25 Thread Robert Goulet
To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Default compile options On 08/24/2015 05:17 PM, Robert Goulet wrote: set(CMAKE_C_FLAGS_DEBUG -D_DEBUG) in a Makefile those flags are not even passed to the compiler. In the Makefile and Ninja

[cmake-developers] Default compile options

2015-08-24 Thread Robert Goulet
In our root CMakeLists.txt file we do this: set(CMAKE_C_FLAGS) set(CMAKE_CXX_FLAGS) set(CMAKE_C_FLAGS_DEBUG -D_DEBUG) set(CMAKE_CXX_FLAGS_DEBUG -D_DEBUG) set(CMAKE_C_FLAGS_RELEASE -DNDEBUG) set(CMAKE_CXX_FLAGS_RELEASE -DNDEBUG) This is to reset the build flags for all platforms, but it doesn't

Re: [cmake-developers] Recursion in OUTPUT_NAME genex

2015-08-18 Thread Robert Goulet
. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, August 18, 2015 10:44 AM To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: Recursion in OUTPUT_NAME genex On 08/17/2015 11:59 AM, Robert Goulet wrote: I'm assuming that master

Re: [cmake-developers] Retain platform name when generating VS projects

2015-08-18 Thread Robert Goulet
Thanks, it does work. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, August 18, 2015 10:44 AM To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Retain platform name when generating VS projects

[cmake-developers] Retain platform name when generating VS projects

2015-08-18 Thread Robert Goulet
Hi all, Here at the office we added some code to CMake to be able to support closed platforms when generating Visual Studio project files. The changes weren't complicated; it was just a matter to retain the platform name upon generation. Essentially, we replace the Win32 or x64 string in the

Re: [cmake-developers] Recursion in OUTPUT_NAME genex

2015-08-17 Thread Robert Goulet
Great! Thanks Brad. I'm assuming that master branch is 3.4? I'll start looking into the install command DIRECTORY property genex support. Cheers! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, August 17, 2015 11:51 AM To: Robert Goulet robert.gou

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-08-14 Thread Robert Goulet
is not ideal. Any suggestion as to where I should store the map? Should we introduce an internal pointer like in cmTarget class? Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, August 13, 2015 10:33 AM To: Robert Goulet robert.gou...@autodesk.com

Re: [cmake-developers] Recursion in OUTPUT_NAME genex (was: Generator expressions for archive|library|runtime output directory)

2015-08-14 Thread Robert Goulet
[mailto:brad.k...@kitware.com] Sent: Friday, August 14, 2015 3:47 PM To: Stephen Kelly steve...@gmail.com Cc: Robert Goulet robert.gou...@autodesk.com; cmake-developers@cmake.org Subject: Re: Recursion in OUTPUT_NAME genex (was: Generator expressions for archive|library|runtime output directory

Re: [cmake-developers] Recursion in OUTPUT_NAME genex (was: Generator expressions for archive|library|runtime output directory)

2015-08-14 Thread Robert Goulet
, 2015 3:47 PM To: Stephen Kelly steve...@gmail.com Cc: Robert Goulet robert.gou...@autodesk.com; cmake-developers@cmake.org Subject: Re: Recursion in OUTPUT_NAME genex (was: Generator expressions for archive|library|runtime output directory) Steve, Robert Goulet (in Cc) is working on detecting

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-08-13 Thread Robert Goulet
Awesome! Thanks Brad. I will now look into the OUTPUT_NAME recursion issue. Cheers! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, August 13, 2015 10:33 AM To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: [cmake

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-08-11 Thread Robert Goulet
! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, August 10, 2015 11:48 AM To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for archive|library|runtime output directory On 08

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-08-10 Thread Robert Goulet
on those, but it's just a wild guess on my part I haven't looked at the code yet. -Original Message- From: Ben Boeckel [mailto:ben.boec...@kitware.com] Sent: Tuesday, July 21, 2015 11:24 AM To: Brad King brad.k...@kitware.com Cc: Robert Goulet robert.gou...@autodesk.com; cmake

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-07-17 Thread Robert Goulet
To: Robert Goulet Cc: Stephen Kelly; cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for archive|library|runtime output directory On 07/15/2015 05:27 PM, Robert Goulet wrote: I didn't know about the two signature of cmCompiledGeneratorExpression::Evaluate, what's

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-07-17 Thread Robert Goulet
I'm going to be away for a few weeks, is it ok if the master branch stays in that state for a while? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, July 17, 2015 11:47 AM To: Robert Goulet Cc: Stephen Kelly; cmake-developers@cmake.org Subject: Re: [cmake

Re: [cmake-developers] Generator expressions for archive|library|runtime output directory

2015-07-15 Thread Robert Goulet
-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Stephen Kelly Sent: Wednesday, July 15, 2015 5:17 PM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for archive|library|runtime output directory Robert Goulet wrote: Greetings! Patch

Re: [cmake-developers] [PATCH] Extended Nsight Tegra support for CMake

2015-07-15 Thread Robert Goulet
We use it for our game engine Android development, and I must say this is definitively super awesome. Looking forward for these improvements! Thanks a lot for all this work. -Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Mikhail

Re: [cmake-developers] cmake.exe parameters and system command line length limit

2015-07-14 Thread Robert Goulet
Ah ok this means the -C option is in addition to the cmake cache, and not replace it? -Original Message- From: David Cole [mailto:dlrd...@aol.com] Sent: Monday, July 13, 2015 3:42 PM To: Robert Goulet Cc: David Cole; cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake.exe

[cmake-developers] Generator expressions for archive|library|runtime output directory

2015-07-14 Thread Robert Goulet
Greetings! Patch in attachment for all OUTPUT_DIRECTORY variants to support generator expressions. Thanks! -Robert Goulet output-dir-genex.patch Description: output-dir-genex.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [cmake-developers] cmake.exe parameters and system command line length limit

2015-07-14 Thread Robert Goulet
fine for us in this setup. That's great, it fixed our command line length limit issue! Thanks a lot! -Original Message- From: David Cole [mailto:dlrd...@aol.com] Sent: Tuesday, July 14, 2015 11:26 AM To: Robert Goulet Cc: David Cole; cmake-developers@cmake.org Subject: Re: [cmake

Re: [cmake-developers] cmake.exe parameters and system command line length limit

2015-07-13 Thread Robert Goulet
there on the Internet. HTH, David C. On Mon, Jul 13, 2015 at 1:44 PM, Robert Goulet robert.gou...@autodesk.com wrote: Hi all, We use a custom script to handle which parameters we set to cmake.exe on Windows. It sets CMake values based on the options provided to this script, using the -D cmake

[cmake-developers] cmake.exe parameters and system command line length limit

2015-07-13 Thread Robert Goulet
Hi all, We use a custom script to handle which parameters we set to cmake.exe on Windows. It sets CMake values based on the options provided to this script, using the -D cmake parameter. This works well, but recently we've reached the limit on how many characters we can set to a single system

Re: [cmake-developers] Generator expressions for output directory/name (and install?)

2015-07-09 Thread Robert Goulet
Awesome, thanks Brad. I'm guessing it's too late for 3.3? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, July 9, 2015 12:55 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for output directory

Re: [cmake-developers] Generator expressions for output directory/name (and install?)

2015-07-08 Thread Robert Goulet
Ok let's start with the simplest one, OUTPUT_NAME generator expressions support, then we'll do the others. Patch in attachment. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, June 16, 2015 10:21 AM To: Robert Goulet Cc: cmake-developers@cmake.org

Re: [cmake-developers] CMake instances sharing some modifiable resources

2015-06-18 Thread Robert Goulet
True it works; I was wrongly setting the file lock on the file I was trying to write into. Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, June 18, 2015 9:28 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers

[cmake-developers] CMake instances sharing some modifiable resources

2015-06-17 Thread Robert Goulet
Hi all, I'm trying to write a custom command that will run a CMake script to add some content in a file. Problem is, if I'm building with multiple process enabled in Visual Studio project, and the custom command is added to a few different CMakeLists.txt files, I get synchronizations issues.

Re: [cmake-developers] Generator expressions for output directory/name (and install?)

2015-06-15 Thread Robert Goulet
Updated with improved tests and added docs. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, June 15, 2015 10:17 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions for output directory/name

Re: [cmake-developers] Generator expressions for output directory/name (and install?)

2015-06-12 Thread Robert Goulet
Here's the updated patch file with tests added. Let me know if it's good to go. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, June 11, 2015 8:55 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Generator expressions

Re: [cmake-developers] Generator expressions for output directory/name (and install?)

2015-06-10 Thread Robert Goulet
Ok I think I got something nicely integrated now. Patch in attachment. This enable generator expressions for the target properties OUTPUT_NAME and RUNTIME_OUTPUT_DIRECTORY, as well as the DESTINATION property of the install command. Cheers! -Robert Goulet -Original Message- From

[cmake-developers] custom_command rebuild output file when depend files change?

2015-06-01 Thread Robert Goulet
Hi, Does CMake custom_command rebuild the output file if the dependency files change? Seems like it should but I can't get it to work. The CMake command is written like this: add_custom_command( OUTPUT ${ OUTPUT_FILE}

Re: [cmake-developers] custom_command rebuild output file when depend files change?

2015-06-01 Thread Robert Goulet
}) [...] add_library(${PROJECT_NAME} STATIC ${SOURCE_FILES}) -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, June 1, 2015 1:33 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] custom_command rebuild output file when depend files change

Re: [cmake-developers] custom_command rebuild output file when depend files change?

2015-06-01 Thread Robert Goulet
the dependencies from functioning correctly. Perhaps it's a bug, I don't know. But now it works, thanks for the pointer Brad ! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, June 1, 2015 2:11 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re

Re: [cmake-developers] Set msbuild.exe to build the solution instead of the ALL_BUILD target?

2015-05-06 Thread Robert Goulet
. So what's the best approach you want me to implement? --target $proj.sln? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, May 6, 2015 11:07 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Set msbuild.exe to build

[cmake-developers] Set msbuild.exe to build the solution instead of the ALL_BUILD target?

2015-05-05 Thread Robert Goulet
)) { targetProject = proj-GetRelativePath(); cmSystemTools::ConvertToUnixSlashes(targetProject); } } makeCommand.push_back(targetProject); } Robert Goulet Senior Software Developer Games Solutions Group Autodesk Media Entertainment MAIN +1 514 393 1616

Re: [cmake-developers] Set msbuild.exe to build the solution instead of the ALL_BUILD target?

2015-05-05 Thread Robert Goulet
Perhaps something like this? ... else if ( realTarget == build ) { makeCommand.push_back(std::string(projectName)+.sln); makeCommand.push_back(/t:Build); } ... From: Robert Goulet Sent: Tuesday, May 5, 2015 4:58 PM To: cmake-developers@cmake.org Subject: Set msbuild.exe

Re: [cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable (with generator expressions)

2015-05-04 Thread Robert Goulet
Ok, I wonder if this is something I should implement more globally? Would that be possible, or is it just relevant to VS generator? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, May 4, 2015 10:00 AM To: Robert Goulet Cc: cmake-developers@cmake.org

Re: [cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable (with generator expressions)

2015-05-04 Thread Robert Goulet
Here's a patch that include the docs and the test. I renamed the variable to your suggestion. Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, May 4, 2015 10:33 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Add

[cmake-developers] Trying to access variable...

2015-05-01 Thread Robert Goulet
Hi all, I'm trying to read a new global variable I've created into the CMake source... so I tried the following: target-GetMakefile()-GetFeature(CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD, i-c_str()); ...but it always return nullptr. I verified that my CMakeLists.txt contains

Re: [cmake-developers] Trying to access variable...

2015-05-01 Thread Robert Goulet
? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, May 1, 2015 1:14 PM To: Robert Goulet; cmake-developers@cmake.org Subject: Re: [cmake-developers] Trying to access variable... On 05/01/2015 12:02 PM, Robert Goulet wrote: target-GetMakefile()-GetFeature

[cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable

2015-05-01 Thread Robert Goulet
Hi all, Here's a patch in attachment that adds the ability for CMake to include the INSTALL target to the default build targets to build. Thanks! cmake-include-install-to-default-build.patch Description: cmake-include-install-to-default-build.patch -- Powered by www.kitware.com Please keep

Re: [cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable

2015-05-01 Thread Robert Goulet
Oops, sorry that's not the right version, hold on... From: Robert Goulet Sent: Friday, May 1, 2015 1:51 PM To: cmake-developers@cmake.org Subject: Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable Hi all, Here's a patch in attachment that adds the ability for CMake to include the INSTALL

Re: [cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable (with generator expressions)

2015-05-01 Thread Robert Goulet
Yes will do. Is there any files I should update for the documentation? Now going out for the week-end; it's spring and my birthday today! Cheers! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, May 1, 2015 2:18 PM To: Robert Goulet Cc: cmake-developers

[cmake-developers] Add new CMAKE_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable (with generator expressions)

2015-05-01 Thread Robert Goulet
Hi all, Ok correct version this time, with generator expressions support, here's a patch in attachment that adds the ability for CMake to include the INSTALL target to the default build targets to build. Thanks! cmake-include-install-to-default-build.patch Description:

Re: [cmake-developers] Visual Studio dependencies bug work-around

2015-04-16 Thread Robert Goulet
15, 2015 2:05 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Visual Studio dependencies bug work-around On 04/15/2015 12:31 PM, Robert Goulet wrote: defined EXCLUDE_FROM_DEFAULT_BUILD_RELEASE 1 on Bar [snip] All seems to work from within Visual Studio Yes

[cmake-developers] Visual Studio dependencies bug work-around

2015-04-15 Thread Robert Goulet
in the solution It seems the only way to skip building Bar is to tell msbuild to build the solution instead of the specific project, but we NEED to build INSTALL in this case. Any ideas? -Robert Goulet -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

[cmake-developers] Setting unexposed Visual Studio properties from CMake?

2015-03-16 Thread Robert Goulet
to CMake. Exposing every single Nsight Tegra build options to CMake is a big job, and perhaps a similar option like XCode would be beneficial to other generators as well. If it's not available, how difficult would it be to add this feature? Thanks! -Robert Goulet -- Powered by www.kitware.com

Re: [cmake-developers] cmake install command expected performance?

2015-02-26 Thread Robert Goulet
Great, let us know if the test is clean! Cheers! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Thursday, February 26, 2015 3:13 PM To: Robert Goulet; Joshua Clayton Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake install command expected

Re: [cmake-developers] cmake install command expected performance?

2015-02-26 Thread Robert Goulet
consider it for CMake 3.2! Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, February 24, 2015 10:07 AM To: Robert Goulet; Joshua Clayton Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake install command expected performance? On 02/24

Re: [cmake-developers] cmake install command expected performance?

2015-02-24 Thread Robert Goulet
: Monday, February 23, 2015 9:28 PM To: Robert Goulet Cc: Nils Gladitz; cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake install command expected performance? On Linux reading the input file would still be cached on subsequent runs even if you remove the destination folder, and writing

Re: [cmake-developers] cmake install command expected performance?

2015-02-24 Thread Robert Goulet
this part is taking the most amount of time. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, February 24, 2015 9:57 AM To: Robert Goulet; Joshua Clayton Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake install command expected performance

Re: [cmake-developers] cmake install command expected performance?

2015-02-24 Thread Robert Goulet
Ok I guess we have no other choice than go in and profile it then. Thanks for the input. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, February 24, 2015 10:07 AM To: Robert Goulet; Joshua Clayton Cc: cmake-developers@cmake.org Subject: Re: [cmake

Re: [cmake-developers] cmake install command expected performance?

2015-02-23 Thread Robert Goulet
...@gmail.com] Sent: Monday, February 23, 2015 10:37 AM To: Robert Goulet; cmake-developers@cmake.org Subject: Re: [cmake-developers] cmake install command expected performance? On 02/23/2015 04:13 PM, Robert Goulet wrote: I'm running into an issue were using the CMake install command to copy

Re: [cmake-developers] msbuild VisualStudioEdition value (was: Fix for Windows Store warning APPX1901...)

2015-02-06 Thread Robert Goulet
Gilles? Any advices about this one? Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, February 3, 2015 3:12 PM To: Robert Goulet; Gilles Khouzam Cc: cmake-developers@cmake.org Subject: Re: msbuild VisualStudioEdition value (was: Fix for Windows

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-02-04 Thread Robert Goulet
[mailto:gilles.khou...@microsoft.com] Sent: Tuesday, February 3, 2015 7:09 PM To: 'Brad King'; Robert Goulet Cc: cmake-developers@cmake.org Subject: RE: [cmake-developers] Windows Store generated solution also containing win32 console app? Hi Robert, I'm a little confused at how your scenario

Re: [cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-30 Thread Robert Goulet
...@microsoft.com] Sent: Thursday, January 29, 2015 6:12 PM To: Brad King; Robert Goulet Cc: cmake-developers@cmake.org Subject: RE: [cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. Thanks Robert

[cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-29 Thread Robert Goulet
Hi folks, Here's a patch to fix a warning we get when generating a clean Windows Store project, APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. This patch also fix an indentation error in the vcxproj. Thanks! -Robert Goulet fix

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-29 Thread Robert Goulet
] Sent: Thursday, January 29, 2015 4:46 PM To: Robert Goulet Cc: cmake-developers@cmake.org; Gilles Khouzam Subject: Re: [cmake-developers] Windows Store generated solution also containing win32 console app? On 01/28/2015 05:08 PM, Robert Goulet wrote: Please review my patch Good start. On Windows

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-28 Thread Robert Goulet
Awesome, thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, January 28, 2015 9:32 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files? On 01/27/2015 01:31 PM, Brad

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-28 Thread Robert Goulet
Hi, Please review my patch and let me know if it correspond to what you had in mind. Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, January 28, 2015 2:09 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-28 Thread Robert Goulet
- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, January 28, 2015 1:21 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Windows Store generated solution also containing win32 console app? On 01/27/2015 02:58 PM, Robert Goulet wrote

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-28 Thread Robert Goulet
How do I test if a target property is explicitly set to false instead of undefined? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, January 28, 2015 1:38 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Windows Store

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-27 Thread Robert Goulet
a different one just for Windows Store build. Let me know your thoughts about it. Thanks! -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, January 27, 2015 12:43 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Windows Store

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-27 Thread Robert Goulet
If the flag would be wrong, compilation would fail. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, January 27, 2015 12:59 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files

[cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-27 Thread Robert Goulet
commands. What if CMake could simply force specific projects to be Win32 console apps? Or perhaps the other way around, add a new token in add_executable to specify if it's a Windows Store app (just like WIN32 or MACOSX_BUNDLE, could have a third one: WINSTORE)? Thoughts? Robert Goulet Senior

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-27 Thread Robert Goulet
There you go. Let me know if it's good now. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, January 26, 2015 3:09 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files? On 01/26

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-26 Thread Robert Goulet
. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, January 26, 2015 1:23 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files? On 01/26/2015 01:10 PM, Robert Goulet wrote: I might just go

[cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-26 Thread Robert Goulet
include directories when I build this .hlsl shader. Is it correct to assume that it should have passed the additional flag to this file? Or maybe there's another way to do this? Thanks. Robert Goulet Senior Software Developer Games Solutions Group Autodesk Media Entertainment MAIN +1 514 393

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-26 Thread Robert Goulet
Do we really need to go down the road of making hlsl a 'first-class' language to add support for additional compile flags? -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, January 26, 2015 12:43 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject

Re: [cmake-developers] Setting additional compile flags to .hlsl files?

2015-01-26 Thread Robert Goulet
[mailto:brad.k...@kitware.com] Sent: Monday, January 26, 2015 1:08 PM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files? On 01/26/2015 01:04 PM, Robert Goulet wrote: Do we really need to go down the road of making hlsl a 'first

Re: [cmake-developers] Generator Expressions and packages (Was: target_link_libraries and --start-group/--end-group ?)

2015-01-14 Thread Robert Goulet
(Was: target_link_libraries and --start-group/--end-group ?) Robert Goulet wrote: Using Brad's method of link multiplicity is too much work because we make use of packages and heavy generator expressions, making it a lot more difficult and much less elegant. Hi Robert, We have not had

Re: [cmake-developers] target_link_libraries and --start-group/--end-group ?

2015-01-13 Thread Robert Goulet
we'd rather not upgrade Nsight Tegra yet, but as soon as the pressure is over I will be looking into this again and make it my top priority. Thanks! -Original Message- From: Dmitry Polyanitsa [mailto:dpolyani...@nvidia.com] Sent: Tuesday, January 13, 2015 12:29 PM To: Robert Goulet Cc: Brad

  1   2   >