[CMake] Use CMake to create C# project
Andreas Roth
andreas.roth at fastprotect.net
Wed Apr 28 02:38:47 EDT 2010
Thanks for your response David.
I was afraid that their is no great interest in getting C# to work with
CMake.
What would be required to add C# as a native language to CMake? Can
anyone give me some hints how this could be done? A n example or how-to
would be great.
The other way would be to use a bunch of add_custom_commands to get the
work done. So far i've found the following projects which have tried
this way:
- http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/CMakeCSharp/
- http://websvn.kde.org/?revision=1061491&view=revision
Are there more? What are the limitations of these solutions? Are there
any limitation using the add_custom_commands approach compared to the
native language approach?
Regards,
Andreas
On 2010-04-27 16:58, David Cole wrote:
> There is a low priority feature request in the issue tracker:
>
> http://public.kitware.com/Bug/view.php?id=7918
>
> However, I am not aware of any serious funding for any such effort on
> the horizon. So it is unlikely to be going in anytime soon unless
> somebody steps up to the plate with a plan and a checkbook. :-)
>
> Having said that, though, it's not hard to call the C# compiler
> directly with custom commands....
>
> So it's easy to drive the build of a C# library or executable with
> add_custom_command in a CMakeLists.txt file, but "first class C#
> language support, including resources and generating *.csproj files"
> is not planned in the short term.
>
>
> HTH,
> David
>
>
> On Fri, Apr 23, 2010 at 4:19 AM, Andreas Roth
> <andreas.roth at fastprotect.net <mailto:andreas.roth at fastprotect.net>>
> wrote:
>
> Hello to all,
>
> i try to find out how i could integrate my C# projects into my
> CMake project files. As far as i know CMake does not natively
> support C# projects. Is it planned to add this functionality? If
> yes, when will be be ready?
>
> Thanks,
> Andreas Roth
> _______________________________________________
> Powered by www.kitware.com <http://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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100428/87dea10d/attachment.htm>
More information about the CMake
mailing list