Variables:

CMAKE_SYSTEM

CMAKE_BUILD_TOOL  borlandmake make nmake msdev devenv
CMAKE_MAKE_PROGRAM  make nmake msdev devenv  *** HAS TO BE IN CACHE for try compile to work
CMAKE_BUILD_TYPE   Debug Release RelWithDebInfo MinSizeRel
BUILD_COMMAND needs to be removed

CMAKE_ANSI_CFLAGS
CMAKE_ANSI_CXXFLAGS
CMAKE_NO_ANSI_STRING_STREAM
CMAKE_NO_STD_NAMESPACE
CMAKE_NO_ANSI_FOR_SCOPE
CMAKE_COMPILER_IS_GNUCXX
CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION


CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELWITHDEBINFO

CMAKE_C_FLAGS
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELWITHDEBINFO

CMAKE_CXX_LINK_DEBUG_FLAGS
CMAKE_CXX_LINK_RELEASE_FLAGS
CMAKE_CXX_LINK_RELWITHDEBINFO_FLAGS
CMAKE_CXX_LINK_MINSIZEREL_FLAGS

CMAKE_C_LINK_DEBUG_FLAGS
CMAKE_C_LINK_RELEASE_FLAGS
CMAKE_C_LINK_RELWITHDEBINFO_FLAGS
CMAKE_C_LINK_MINSIZEREL_FLAGS


CMAKE_USE_WIN32_THREADS
CMAKE_USE_SPROC
CMAKE_USE_PTHREADS
CMAKE_HP_PTHREADS
CMAKE_THREAD_LIBS
CMAKE_DL_LIBS

CMAKE_X_LIBS
CMAKE_X_CFLAGS
CMAKE_HAS_X

