Re: [CMake] ALL_BUILD with msbuild

2019-05-13 Thread Dustyn Blasig
Yay, just building ALL_BUILD.vcxproj directly worked! I did not realize we didn't need to build the solution for things to work. Thanks! On Mon, May 13, 2019 at 2:56 PM frodak17 wrote: > > > On Mon, May 13, 2019 at 1:05 PM Dustyn Blasig wrote: > >> Hi All, >> >> I'm trying to switch from devenv

Re: [CMake] ALL_BUILD with msbuild

2019-05-13 Thread frodak17
On Mon, May 13, 2019 at 1:05 PM Dustyn Blasig wrote: > Hi All, > > I'm trying to switch from devenv to msbuild on the command line so we can > use the /m parallel build option. On devenv, I just build the ALL_BUILD > target and it builds properly. However, on msbuild, there are two issues. > > 1.

Re: [CMake] ALL_BUILD with msbuild

2019-05-13 Thread J. Caleb Wherry
Can’t help much on the ZERO_CHECK project, we set the CMAKE_SUPPRESS_REGENERATION to true which disables that project. -Caleb On Mon, May 13, 2019 at 2:35 PM Dustyn Blasig wrote: > Ah, thanks, we do use EXCLUDE_FROM_ALL but I did not know about > EXCLUDE_FROM_DEFAULT_BUILD. From the documentati

Re: [CMake] ALL_BUILD with msbuild

2019-05-13 Thread Dustyn Blasig
Ah, thanks, we do use EXCLUDE_FROM_ALL but I did not know about EXCLUDE_FROM_DEFAULT_BUILD. From the documentation, it sounds like we really do want to build the ALL_BUILD target, but I'm not sure how to get the ZERO_CHECK project to properly build with msbuild. I can probably use EXCLUDE_FROM_DEFA

Re: [CMake] ALL_BUILD with msbuild

2019-05-13 Thread J. Caleb Wherry
I do not specify the project name when running my main build, I call msbuild like you do in #2. How do you exclude things from ‘all’? I’ve actually ran into issues with VS and how pressing “Build” in the IDE and running on the command line do different things. This comes down to 2 target propertie

[CMake] ALL_BUILD with msbuild

2019-05-13 Thread Dustyn Blasig
Hi All, I'm trying to switch from devenv to msbuild on the command line so we can use the /m parallel build option. On devenv, I just build the ALL_BUILD target and it builds properly. However, on msbuild, there are two issues. 1. If I specify the ALL_BUILD target on the command line directly, I