Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
Just a note.. . That method does NOT work with windows... And since the visual studio project has the external as a single command, (not sure if its calling nmake or the new build cmd) the proeject is not run in parallel. Scott -Original Message- From: CMake [mailto:cmake-boun...@cmak

Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
> Thanks I'm getting close now. > > However, for the two sub projects, there doesn’t seem to be a way to run the > make stage with -j 6 or any make options. > > Am I missing something? I see how to set CMAKE_ARGS but no MAKE_ARGS Hi Scott: Some of my further comments are somewhat off your origin

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
On 2016-03-24 02:02- Scott Aron Bloom wrote: Thanks I'm getting close now. However, for the two sub projects, there doesn’t seem to be a way to run the make stage with -j 6 or any make options. Am I missing something? I see how to set CMAKE_ARGS but no MAKE_ARGS Hi Scott: Some of my fu

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
On 2016-03-24 01:08- Scott Aron Bloom wrote: Do you have apointer to an example of using the external_project. I have split the projects up, and install the first one.. But I cant seem to get the external project on the downstream cmake run to properly depend that the previous one was run

Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
Thanks I'm getting close now. However, for the two sub projects, there doesn’t seem to be a way to run the make stage with -j 6 or any make options. Am I missing something? I see how to set CMAKE_ARGS but no MAKE_ARGS Scott -Original Message- From: Nicholas Braden [mailto:nicholas11bra.

Re: [CMake] Two phase install?

2016-03-23 Thread Nicholas Braden
Sure, here are a couple of my own projects: https://github.com/LB--/events/blob/e3215d84644c67848b6d716d308e66c6f186b84e/CMakeLists.txt#L26-L29 https://github.com/LB--/simple-platformer/blob/5b8541354109137798d648bc9d8fe164137de9ab/CMakeLists.txt#L63-L67 On Wed, Mar 23, 2016 at 8:11 PM, Scott Aron

Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
Ok.. Do you have an example somewhere ? -Original Message- From: Nicholas Braden [mailto:nicholas11bra...@gmail.com] Sent: Wednesday, March 23, 2016 6:11 PM To: Scott Aron Bloom Cc: Alan W. Irwin; cmake@cmake.org Subject: Re: [CMake] Two phase install? Both projects should be built via E

Re: [CMake] Two phase install?

2016-03-23 Thread Nicholas Braden
Both projects should be built via ExternalProject within a superproject, this way you can use the DEPENDS arguments to guarantee build order. On Wed, Mar 23, 2016 at 8:08 PM, Scott Aron Bloom wrote: > Do you have apointer to an example of using the external_project. > > I have split the projects

Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
Do you have apointer to an example of using the external_project. I have split the projects up, and install the first one.. But I cant seem to get the external project on the downstream cmake run to properly depend that the previous one was run Scott -Original Message- From: CMake [mai

Re: [CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
-Original Message- From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] Sent: Wednesday, March 23, 2016 2:48 PM To: Scott Aron Bloom Cc: cmake@cmake.org Subject: Re: [CMake] Two phase install? On 2016-03-23 20:25- Scott Aron Bloom wrote: > Here is my problem. > > The project I have

Re: [CMake] Two phase install?

2016-03-23 Thread Alan W. Irwin
On 2016-03-23 20:25- Scott Aron Bloom wrote: Here is my problem. The project I have creates an application, that is needed to build the rest of the project. To imagine it, imagine the application is a custom yacc/lex based parser that reads in a file and generates an output file. In ord

[CMake] Two phase install?

2016-03-23 Thread Scott Aron Bloom
Here is my problem. The project I have creates an application, that is needed to build the rest of the project. To imagine it, imagine the application is a custom yacc/lex based parser that reads in a file and generates an output file. In order for the application to run correctly, it needs an

Re: [CMake] Cmake 3.5.0 and Fortran submodule cannot be built

2016-03-23 Thread Brad King
On 03/23/2016 11:41 AM, Arjen Markus wrote: > Fortran submodules are contained in a file with the extension > .smod instead of .mod. At least for Intel Fortran. It may very > well be that this feature is not yet supported by CMake. [snip] >> Error copying Fortran module "mod/function". >> Tried "mo

Re: [CMake] Issues using CPack for making a debian package

2016-03-23 Thread Wagner, David
On 23/03/2016 16:15, Domen Vrankar wrote: I'd like to point out that dpkg-shlibdeps has a `-l` option that looks to me like the best tool for the job (compared to the rpath solution); this option is used in actual debian packages. -ldirectory Add directory to the list of directories to

Re: [CMake] Cmake 3.5.0 and Fortran submodule cannot be built

2016-03-23 Thread Arjen Markus
Hi, Fortran submodules are contained in a file with the extension .smod instead of .mod. At least for Intel Fortran. It may very well be that this feature is not yet supported by CMake. Unfortunately I have not yet had the opportunity to run into this problem ;). Regards, Arjen > ---

[CMake] Cmake 3.5.0 and Fortran submodule cannot be built

2016-03-23 Thread olusegun ogunbade
From: olusegun ogunbade Sent: Wednesday, March 23, 2016 2:59:07 PM To: cmake@cmake.org Subject: Cmake 3.5.0 and Fortran submodule cannot be built I was trying to build a Fortran project using Cmake-3.5.0. The project was written with the fortran 08 submo

Re: [CMake] Issues using CPack for making a debian package

2016-03-23 Thread Domen Vrankar
> So, I've done some research and I found two things: > - There's a closed bug entry and a very recent patch > (https://cmake.org/Bug/view.php?id=12431; > https://cmake.org/gitweb?p=cmake.git;a=log) that will help fixing this; > - The documentation advises setting the CMAKE_INSTALL_RPATH variable

[CMake] Issues using CPack for making a debian package

2016-03-23 Thread Wagner, David
Hi, (I'm using CMake 3.2) I have a project which is using CMake and CPack to create a debian package. It currently seems to be working fine but when I set CPACK_DEBIAN_PACKAGE_DEBUG to ON and dig in the logs, I see this: dpkg-shlibdeps: warning: binaries to analyze should already be