Hi,
I have just started to work to extend CMake to support Scala language.
This language is very similar to Java regarding compilation (scala compiler
generates .class (java byte code)) and packaging (binary files can be packaged
in jar files) and is running as part of JVM infrastructure.
Currently, there is a module UseJava.cmake which mix two aspects:
* Jar management: add_jar, install_jar and find_jar
* Java specific stuff: doc, etc…
Now, regarding jar management, currently only Java language is supported but,
with only very few changes, Scala can be supported as well. So it would be very
nice to avoid to duplicate jar management for Scala support.
So, I submit the following proposal, regarding current Java and Scala support,
to the discussion:
* Split current module UseJava.cmake into 2 modules:
* UseJar.cmake which will be in charge of jar management, including
sources compilation (Java and Scala)
* UseJava.cmake, keep Java specific stuff and also include, for
compatibility, module UseJar.cmake
* For Scala support, provide modules:
* FindScala.cmake (same functionality as FindJava.cmake)
* UseScala.cmake which can include UseJar.cmake and provides specific
stuff (like create_scaladoc)
Comments are welcome…
Marc
--
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:
http://public.kitware.com/mailman/listinfo/cmake-developers