Re: [CMake] add my own language-name using standard functions

2019-07-19 Thread J. Caleb Wherry
Also, I would not suggest using the Java language support as reference as it is not a first class supported language. As you said, it defines custom functions and macros to do everything. I would suggest you look at the C# support as it is a first class language (meaning: you can add it to your

Re: [CMake] add my own language-name using standard functions

2019-07-19 Thread Kyle Edwards
On Fri, 2019-07-19 at 21:30 +0100, hex wrote: > dear community, > I want to make a module for a language that is not supported by > CMake.  > are there any restrictions in using add_executable for any language > other than C / C++,  > must the build be constructed very similar to C language? > I

[CMake] add my own language-name using standard functions

2019-07-19 Thread hex
dear community, I want to make a module for a language that is not supported by CMake. are there any restrictions in using *add_executable* for any language other than C / C++, must the build be constructed very similar to C language? I was looking into Java module for reference and noted