[cmake-developers] Support of Scala language

Eric Wing ewmailing at gmail.com
Fri Feb 19 03:47:58 EST 2016


>>
>>If we're starting with support for a new language then we should
>>add it properly as a first-class language.  Eric and Michael (in Cc)
>>have been working on this for Swift and C# recently.  Likely there
>>is some overlap in design space.
>>

On 2/19/16, CHEVRIER, Marc <marc.chevrier at sap.com> wrote:
> I agree. The right approach is to do an integration of Java in the same way
> as C or C++.
> But I don’t have currently enough CMake skills to do this work.
>
> Do you have some documentation explaining how language support is done in
> CMake ? And how specific behaviours of Java/Scala can be supported in
> CMake:
> * All sources composing a jar must be compiled all at once
> * A source file can produce an arbitrary number of binary files (.class)
> with various (and unpredictable) names.
>

Yes, for Swift, I think I'm going to need something similar to the all
sources at once thing. I'm avoiding this for the moment, but I'm told
the mechanism I'm relying on isn't guaranteed to work in the future.


More information about the cmake-developers mailing list