On 11/15/2011 10:13 PM, Stefan Monnier wrote:

I'm trying to use CMake for a new project here.  This project (a new
programming language, whose first implementation is in OCaml) is
currently in the very first stages (I have barely more than the lexer
written) and doesn't require anything sophisticated (there's only
1 OCaml file for now ;-).  So my "language support" is very primitive
and rather than fight CMake, I'll probably just switch to something
else :-(

You should be able to use custom commands to what you need in CMake. It really should not be that hard. You create custom targets for the libraries of your language. You then have custom commands that produce the outputs that make up the input to the custom targets. So, I don't think you would need to fight CMake that much. Just take a different approach.

-Bill


--

Powered by www.kitware.com

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

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

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

Reply via email to