Moved cmake macros to a separeted file.

Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
renatofilho 2010-10-07 12:15:11 -03:00
commit 3c7f55855b
5 changed files with 170 additions and 161 deletions

View file

@ -1,11 +0,0 @@
include (CMakeForceCompiler)
option(ENABLE_ICECC "Enable icecc checking, for distributed compilation")
if (ENABLE_ICECC)
find_program(ICECC icecc)
if (ICECC)
message(STATUS "icecc found! Distributed compilation for all!! huhuhu.")
cmake_force_cxx_compiler(${ICECC} icecc)
else(ICECC)
message(FATAL_ERROR "icecc NOT found! re-run cmake without -DENABLE_ICECC")
endif(ICECC)
endif(ENABLE_ICECC)