[CMake] Order of IMPORTED target include directories

2018-04-10 Thread Ephi Sinowitz (BLOOMBERG/ 919 3RD A)
Hi, I would like to ensure that all include directories propagated from IMPORTED targets come after the include directories propagated from non-imported targets. On gcc the includes from IMPORTED targets are marked with -isystem which effectively moves these directories to the end of the includ

[CMake] Ninja Fortran on XL

2018-04-12 Thread Ephi Sinowitz (BLOOMBERG/ 919 3RD A)
Trying to get this to work by setting a proper CMAKE_Fortran_PREPROCESS_SOURCE variable. Here is GNU_Fortran for reference. set(CMAKE_Fortran_PREPROCESS_SOURCE " -cpp-E -o ") The analogous switch for -E in XL is -d -qnoobject. However, CMake expects the PREPROCESSED_SOURCE output to b

Re: [CMake] Ninja Fortran on XL

2018-04-12 Thread Ephi Sinowitz (BLOOMBERG/ 919 3RD A)
Unfortunately there is no way I can see to control the output directory. It is always the current working directory. From: brad.k...@kitware.com At: 04/12/18 09:42:58To: Ephi Sinowitz (BLOOMBERG/ 919 3RD A ) , cmake@cmake.org Subject: Re: [CMake] Ninja Fortran on XL On 04/12/2018 08:22 AM