Re: [CMake] cmake for GHS

2019-08-29 Thread fdk17
On Thu, Aug 29, 2019, at 1:51 AM, Deepan Muthusamy (RBEI/ESP-IS44) via CMake wrote: > I want to compile c and c++ code in GHS compiler for renesas controller. > > For Mingw compiler, My code is compiling successfully. But I want to compile > for GHS. > > I have compiler available at this p

[CMake] using fetch_content imported modules and not system one

2019-08-29 Thread Stéphane Ancelot
hi, i used fetch_content to download bullet library , but I cant use it. FetchContent_Declare(   bullet   GIT_REPOSITORY https://github.com/bulletphysics/bullet3.git   GIT_TAG    2.88 ) FetchContent_GetProperties(bullet) if(NOT bullet_POPULATED)   FetchContent_Populate(bullet)   add_subdir

[CMake] modify cmake build arguments

2019-08-29 Thread hex
hello community, CMake builds a C project with /gcc -o target_name/. I have a compiler very similar to GCC and I am trying configure CMake C language for it. The compiler does not support the -o argument when linking objects. I wonder if there is a way to remove or modify this argument, may

Re: [CMake] modify cmake build arguments

2019-08-29 Thread Kyle Edwards via CMake
On Thu, 2019-08-29 at 18:27 +0100, hex wrote: > hello community, > > CMake builds a C project with gcc -o target_name. I have a compiler > very similar to GCC and I am trying configure CMake C language for > it. > > The compiler does not support the -o argument when linking objects. I > wonder if

Re: [CMake] modify cmake build arguments

2019-08-29 Thread fdk17
On Thu, Aug 29, 2019, at 2:52 PM, Kyle Edwards via CMake wrote: > On Thu, 2019-08-29 at 18:27 +0100, hex wrote: > > hello community, > > > > CMake builds a C project with gcc -o target_name. I have a compiler > > very similar to GCC and I am trying configure CMake C language for > > it. > > > >

Re: [CMake] using fetch_content imported modules and not system one

2019-08-29 Thread Craig Scott
On Thu, Aug 29, 2019 at 11:14 PM Stéphane Ancelot wrote: > hi, > > i used fetch_content to download bullet library , but I cant use it. > > FetchContent_Declare( > bullet > GIT_REPOSITORY https://github.com/bulletphysics/bullet3.git > GIT_TAG2.88 > > ) > > FetchContent_GetProperties

Re: [CMake] modify cmake build arguments

2019-08-29 Thread Eric Doenges
On 29.08.2019 22:38, fdk17 wrote: On Thu, Aug 29, 2019, at 2:52 PM, Kyle Edwards via CMake wrote: On Thu, 2019-08-29 at 18:27 +0100, hex wrote: > hello community, >  > CM