CMake - CMake Digest, Vol 160, Issue 66

Send CMake mailing list submissions to cmake@cmake.org To subscribe or unsubscribe via the World Wide Web, visit https://cmake.org or, via email, send a message with subject or body 'help' to cmake-request@cmake.org You can reach the person managing the list at cmake-owner@cmake.org When replying, please edit your Subject line so it is more specific than "Re: Contents of CMake digest..." Today's Topics: 1. Re: CMake + Gradle for Android (Craig Scott) 2. Re: CMake + Gradle for Android (Jom O'Fisher) 3. CMAKE Fortran - error while coping modules (Martin.LARCHER@ec.europa.eu) ---------------------------------------------------------------------- Message: 1 Date: Thu, 24 Aug 2017 07:37:00 +0800 From: Craig Scott To: "Jom O'Fisher" Cc: CMake Subject: Re: [CMake] CMake + Gradle for Android Message-ID: Content-Type: text/plain; charset="utf-8" On Thu, Aug 24, 2017 at 5:20 AM, Jom O'Fisher wrote: > We'll definitely be discussing this use case at our next C++ meeting and > I'll also be checking for myself whether ccache will work in this CMake > scenario. If ccache does work it seems like the natural level at which to > fold identical builds. > In case it's helpful, the following article discusses how to set up a project for ccache without having to assume ccache has been installed with symlinks, etc. to replace the default compiler: https://cmake.org This approach has saved us a huge amount of time in our builds, including some fairly complex hierarchical projects. -- Craig Scott Melbourne, Australia https://cmake.org -------------- next part -------------- An HTML attachment was scrubbed... URL: To: Craig Scott Cc: CMake Subject: Re: [CMake] CMake + Gradle for Android Message-ID: Content-Type: text/plain; charset="utf-8" Thanks Craig, I hadn't found that article yet On Wed, Aug 23, 2017 at 4:37 PM, Craig Scott wrote: > > > On Thu, Aug 24, 2017 at 5:20 AM, Jom O'Fisher > wrote: > >> We'll definitely be discussing this use case at our next C++ meeting and >> I'll also be checking for myself whether ccache will work in this CMake >> scenario. If ccache does work it seems like the natural level at which to >> fold identical builds. >> > > In case it's helpful, the following article discusses how to set up a > project for ccache without having to assume ccache has been installed with > symlinks, etc. to replace the default compiler: > > https://cmake.org > > This approach has saved us a huge amount of time in our builds, including > some fairly complex hierarchical projects. > > -- > Craig Scott > Melbourne, Australia > https://cmake.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: To: Subject: [CMake] CMAKE Fortran - error while coping modules Message-ID: Content-Type: text/plain; charset="iso-8859-1" Dear all, I'm quite new in CMAKE. The compilation of our sources (EUROPLEXUS) under Windows is running very well but under Linux I get an error while cmake is copying the module files. For one particular file, cmake uses a wrong filename. See the two bold lines below. Any idea? Many thanks Martin [ 17%] Building Fortran object source/CMakeFiles/epx.dir/m_failed_ghost_elem.f.o cd /home/larchma/cmake/_built/source && /opt/intel/composer_xe_2013_sp1.5.212/bin/intel64/ifort -O0 -traceback -fpp -LIBS:static -c -debug full -debug-parameters all -I/home/larchma/cmake/include -c /home/larchma/cmake/source/m_failed_ghost_elem.f -o CMakeFiles/epx.dir/m_failed_ghost_elem.f.o /usr/bin/cmake -E cmake_copy_f90_mod source/m_failed_ghost_elem source/CMakeFiles/epx.dir/m_failed_ghost_elem.mod.stamp Intel Fortran Compiler /usr/bin/cmake -E touch source/CMakeFiles/epx.dir/m_failed_ghost_elem.f.o.provides.build make[3]: Leaving directory '/home/larchma/cmake/_built' /usr/bin/make -f source/CMakeFiles/epx.dir/build.make source/CMakeFiles/epx.dir/m_material_mco_chg.f.o.provides.build make[3]: Entering directory '/home/larchma/cmake/_built' /usr/bin/cmake -E cmake_progress_report /home/larchma/cmake/_built/CMakeFiles [ 17%] Building Fortran object source/CMakeFiles/epx.dir/m_material_mco_chg.f.o cd /home/larchma/cmake/_built/source && /opt/intel/composer_xe_2013_sp1.5.212/bin/intel64/ifort -O0 -traceback -fpp -LIBS:static -c -debug full -debug-parameters all -I/home/larchma/cmake/include -c /home/larchma/cmake/source/m_material_mco_chg.f -o CMakeFiles/epx.dir/m_material_mco_chg.f.o /usr/bin/cmake -E cmake_copy_f90_mod source/d source/CMakeFiles/epx.dir/d.mod.stamp Intel Fortran Compiler Error copying Fortran module "source/d". Tried "source/D.mod" and "source/d.mod". source/CMakeFiles/epx.dir/depend.make:19476: recipe for target 'source/CMakeFiles/epx.dir/m_material_mco_chg.f.o.provides.build' failed make[3]: *** [source/CMakeFiles/epx.dir/m_material_mco_chg.f.o.provides.build] Error 1 make[3]: Leaving directory '/home/larchma/cmake/_built' source/CMakeFiles/epx.dir/build.make:7670: recipe for target 'source/CMakeFiles/epx.dir/m_material_mco_chg.f.o.provides' failed make[2]: *** [source/CMakeFiles/epx.dir/m_material_mco_chg.f.o.provides] Error 2 make[2]: Leaving directory '/home/larchma/cmake/_built' CMakeFiles/Makefile2:78: recipe for target 'source/CMakeFiles/epx.dir/all' failed make[1]: *** [source/CMakeFiles/epx.dir/all] Error 2 make[1]: Leaving directory '/home/larchma/cmake/_built' Makefile:120: recipe for target 'all' failed -- Dr.-Ing. Martin Larcher European Commission Joint Research Centre, T.P. 480 Directorate for Space, Security and Migration Safety and Security of Buildings I-21027 Ispra (VA) Italy Phone: +39-0332-789563 -------------- next part -------------- An HTML attachment was scrubbed... URL: