Re: Set a different C compiler

2020-07-28 Thread Brian Inglis
On 2020-07-28 08:03, paul zhang via Cygwin wrote: > I tried to build a HelloWorld project using the " cmake CMakeList.txt " way. > In the CMakeList.txt file, I want to use the specific c and cxx compilers > set(CMAKE_LEGACY_CYGWIN_WIN32 0) > #cmake_minimum_required(VERSION 2.6) > project(HelloWo

Set a different C compiler

2020-07-28 Thread paul zhang via Cygwin
Hi there, I tried to build a HelloWorld project using the " cmake CMakeList.txt " way. In the CMakeList.txt file, I want to use the specific c and cxx compilers set(CMAKE_LEGACY_CYGWIN_WIN32 0) #cmake_minimum_required(VERSION 2.6) project(HelloWorld) set (CMAKE_C_COMPILER icl) set (CMAKE_CXX