Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-05-13 Thread Zehner Paul
Robert, so that all users could benefit from the improved compiler detection :) That is my plan! If I can make a compiler module which works well enough, I will submit it as a merge request. Regarding the detection of MPI with FindMPI, I failed to detect the MPI compiler using `MPI_CXX_COMPILER

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

[CMake] Dependency cycle - why?

2019-05-13 Thread Bill Somerville
Hi folks, I am struggling to understand what the problem is with this: find_program (GO go) set (GOPATH "${CMAKE_CURRENT_BINARY_DIR}/go") file (MAKE_DIRECTORY ${GOPATH}) set (sources ${CMAKE_CURRENT_SOURCE_DIR}/callback_generator.go) set (build_command ${GO} build) set (output callback_generato

Re: [CMake] How to pass linker options with whitespace?

2019-05-13 Thread Fredrik Orderud
On Mon, May 13, 2019 at 8:40 AM Marc CHEVRIER wrote: > You have to use SHELL token (see documentation of add_link_options) > add_link_options ("SHELL:-s USE_WEBGL2=1" "SHELL:-s FULL_ES2=1") You're of course right. Using "SHELL:" worked perfectly, and solved my problem. Sorry for not reading the