[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Experiments in CMake support for Clang (header & standard) modules
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2018-04-30 23:37:57
Message-ID: e5d65530-f310-2cee-6b04-9660dd3156b5 () gmail ! com
[Download RAW message or body]

On 04/30/2018 11:30 PM, Stephen Kelly wrote:
> Interestingly, GCC is taking a directory-centric approach in the
> driver (-fmodule-path=<dir>) as opposed to the 'add a file to your
> compile line for each import' that Clang and MSVC are taking:
> 
> http://gcc.gnu.org/wiki/cxx-modules
> 
> Why is Clang not doing a directory-centric driver-interface? It seems
> to obviously solve problems. 

I just discovered `-fprebuilt-module-path=`. I'm glad it exists (is it
'new'?), but why don't you just use the -I paths?

Thanks,

Steve.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic