[cmake-developers] Referencing all sources in compile command
kyle.edwards at kitware.com
Mon Dec 31 10:14:18 EST 2018
On Sun, 2018-12-30 at 13:09 -0800, Saleem Abdulrasool wrote:
> I was looking at supporting Swift as a language in CMake. I know
> that CMake has some preliminary support that assumes that you are
> building on macOS with Xcode. I am trying to support building swift
> libraries and executables on Linux and Windows.
> There is some preliminary work on this that I have put up on GitHub
> . One place that I am hitting a roadblock in is the need to
> reference all the target sources in the compile rule for a single
> object. AFAICT, there is no placeholder that will expand to the
> target sources. Would it be acceptable to add a ``
> place holder? Or is there another approach that would be better?
>  https://github.com/compnerd/cmake-swift
> Saleem Abdulrasool
> compnerd (at) compnerd (dot) org
> Powered by www.kitware.com
> Please keep messages on-topic and check the CMake FAQ at: http://www.
> 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/op
> Follow this link to subscribe/unsubscribe:
Not sure if this will help, but have you taken a look at the
$<TARGET_OBJECTS:...> generator expression?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cmake-developers