Re: [CMake] GHS - specify cpu option to CMake generator?

2019-07-19 Thread frodak17
On Fri, Jul 19, 2019 at 2:52 PM Geoffroy J wrote: > Hello > > i have tried today to build a library using CMake Green Hills MULTI > generator. > > It seemed to work quite well, but i end up not being able to configure the > "-cpu" option for gbuild, which i need to set to "cortexa7". > > I've wen

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 pr

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 wa

[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 th

[CMake] GHS - specify cpu option to CMake generator?

2019-07-19 Thread Geoffroy J
Hello i have tried today to build a library using CMake Green Hills MULTI generator. It seemed to work quite well, but i end up not being able to configure the "-cpu" option for gbuild, which i need to set to "cortexa7". I've went through the CMake code, i think something similar to variable GHS

Re: [CMake] relative path to toolchain does not work

2019-07-19 Thread hex
Yes, this was the problem. I was running cmake .. -LA to check the cache variables /before/ setting the toolchain. You can even see that the CMAKE_TOOLCHAIN_FILE is not set. It is working now, thank you. On 17/07/2019 18:12, Robert Maynard wrote: Is this with a clean build directory? The too