[CMake] moving project folder
Brandon Van Every
bvanevery at gmail.com
Fri Jun 8 18:09:07 EDT 2007
On 6/8/07, abhijeet mhatre <abhijeetmhatre at yahoo.com> wrote:
>
> Could you tell me how to change the compiler in CMakeLists.txt ?
The compiler is the user's choice, not yours. Have the user run
CMakeSetup or CCMake and let them choose the compiler. You shouldn't
have a compiler hardwired into CMakeLists.txt. You could certainly
detect if a specific compiler is available and take specific actions
on that basis. See the CMake Useful Variables.
http://www.cmake.org/Wiki/CMake_Useful_Variables
Cheers,
Brandon Van Every
More information about the CMake
mailing list