[CMake] cmake - configuration roolback to default

2014-04-13 Thread shahidan
Hi Losif, Yes, this what im looking for. It works! Thank you. I have problem in running make to compile an open source project. Im using virtualbox and my RAM settings in under 500mb. My compilation alway get stuck here: [ 18%] Building CXX object

[CMake] cmake - configuration roolback to default

2014-04-12 Thread shahidan
Hi, i want to change CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to gcc-4.7 and g++-4.7. But when i run cmake, the configuration rollback to default. Can somebody help me? == CMakeCCompiler.cmake == SET(CMAKE_C_COMPILER /usr/bin/gcc) SET(CMAKE_C_COMPILER_ARG1 ) SET(CMAKE_C_COMPILER_ID GNU)

Re: [CMake] cmake - configuration roolback to default

2014-04-12 Thread Iosif Neitzke
Is this usage what you are describing? http://cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F On Sat, Apr 12, 2014 at 7:48 AM, shahi...@mycrypto.biz wrote: Hi, i want to change CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to gcc-4.7 and g++-4.7. But when i run cmake, the