[CMake] [ANNOUNCE] CMake 3.5.1 available for download

2016-03-24 Thread Robert Maynard
We are pleased to announce that CMake 3.5.1 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.5.1 since 3.5.0: Ben Boe

Re: [CMake] Two phase install?

2016-03-24 Thread Scott Aron Bloom
I am not using a dashboard.. What I found is this.. When running a test from a VCXProj system, CMake sets up the custom command as follows Ctest . -C $(Configuration) The $(Configuration) is a visual studio/devenv variable, that is set by the system baed on the current configuration. Howe

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

2016-03-24 Thread Brad King
On 03/24/2016 03:29 PM, olusegun ogunbade wrote: > [ 33%] Building Fortran object src/CMakeFiles/foo.dir/m_point.f90.o > Error copying Fortran module "mod/procedure". Tried "mod/PROCEDURE.mod" and > "mod/procedure.mod". Thanks for the example. The problem is that the syntax MODULE PROCED

Re: [CMake] Two phase install?

2016-03-24 Thread David Cole via CMake
Are you running a dashboard script (ctest -S script) when this happens? Or calling ctest directly with other arguments? If you are running a -S script, you can specify the configuration to build and test in the script itself with the CTEST_CONFIGURATION_TYPE script variable. Read the docs here on

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

2016-03-24 Thread olusegun ogunbade
Hi All Please find attached a tar file containing the source code. The build process and encountered error are: ogunbog@JesusIsLord:~/work/fortran/point/build$ cmake .. -- The Fortran compiler identification is GNU 6.0.0 -- Check for working Fortran compiler: /home/ogunbog/bin/gfc6u4 -- Chec

Re: [CMake] Two phase install?

2016-03-24 Thread Scott Aron Bloom
-Original Message- From: Hendrik Sattler [mailto:p...@hendrik-sattler.de] Sent: Thursday, March 24, 2016 3:54 AM To: Alan W. Irwin; Scott Aron Bloom Cc: cmake@cmake.org Subject: Re: [CMake] Two phase install? Am 24. März 2016 10:14:40 MEZ, schrieb "Alan W. Irwin" : >On 2016-03-24 03:

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

2016-03-24 Thread Damian Rouson
I hope we’ll see CMake support for submodules soon. Submodules are now supported by released versions of the Cray, IBM, and Intel compilers and by the pre-release GNU Fortran compiler version 6.0.0, which is expected to release in mid-April. Damian On Mar 23, 2016, at 1:12 PM, Brad King wrote

Re: [CMake] CMAKE_SIZEOF_VOID_P is unset when building libgit2 on Windows

2016-03-24 Thread Brad King
On 03/24/2016 11:28 AM, Sebastian Schuberth wrote: > Configuring libgit2 fails as CMake does not set CMAKE_SIZEOF_VOID_P > (nor CMAKE_C_SIZEOF_DATA_PTR), see the attached CMakeCCompiler.cmake file. > > I tried to search CMake's source code to find out how the value of > @CMAKE_C_SIZEOF_DATA_PTR@ i

[CMake] CMAKE_SIZEOF_VOID_P is unset when building libgit2 on Windows

2016-03-24 Thread Sebastian Schuberth
Hi, I'm having a similar problem as mention in the old thread at [1]. In my case, I'm on Windows 8.1 64-bit trying to build the rugged [2] gem, which depends on libgit2, which uses CMake. Configuring libgit2 fails as CMake does not set CMAKE_SIZEOF_VOID_P (nor CMAKE_C_SIZEOF_DATA_PTR), see the

Re: [CMake] execute_process seems to execute in parallel and also only shows output of last command

2016-03-24 Thread Nils Gladitz
On 03/24/2016 12:58 PM, xyzdra...@fastmail.fm wrote: The CMake 3.5.0 documentation specifies the execute_process command like this: execute_process(COMMAND [args1...]] [COMMAND [args2...] [...]] [WORKING_DIRECTORY ] [...] ) T

[CMake] add_definitions: if option contains space and using FindCUDA, it won't get added to compiler call

2016-03-24 Thread xyzdragon
Here is a minimal working-example without FindCUDA: main.cpp: int main(void){ return 0; } CMakeLists.txt: cmake_minimum_required(VERSION 3.5) add_definitions( "-D USE_FEATURE" ) add_library( mimi main.cpp ) target_link_libraries( mimi ) the output will be: /usr/bin/g++

[CMake] execute_process seems to execute in parallel and also only shows output of last command

2016-03-24 Thread xyzdragon
I'm using cmake --version cmake version 3.5.0 # First let me tell you, what I wanted to achieve: I wanted to recursively build some submodule, if that makes sense or not should be the matter here: execute_process( COMMAND cmake .. COMMAND make WO

Re: [CMake] Two phase install?

2016-03-24 Thread Hendrik Sattler
Am 24. März 2016 10:14:40 MEZ, schrieb "Alan W. Irwin" : >On 2016-03-24 03:59- Scott Aron Bloom wrote: > >> 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

Re: [CMake] Two phase install?

2016-03-24 Thread Alan W. Irwin
On 2016-03-24 03:59- Scott Aron Bloom wrote: 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. I am pretty sure ExternalProject_Add