Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill an unused macro
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 23 Aug 2015 21:09:01 +0000 (23:09 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 23 Aug 2015 21:09:01 +0000 (23:09 +0200)
CMakeLists.txt

index c7571e1..907ffaa 100644 (file)
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 2.6)
 
-project(SimGrid C)
+project(SimGrid C CXX)
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 #     Check for the compiler        #
@@ -10,12 +10,10 @@ project(SimGrid C)
 if(WIN32)
   SET(CMAKE_RC_COMPILER "windres")
 endif()
+
 ## 
 ## Check the C/C++ standard that we need
 ##   See also tools/cmake/Flags.cmake that sets our paranoid warning flags
-
-enable_language(CXX)
-
 INCLUDE(CheckCCompilerFlag)
 CHECK_C_COMPILER_FLAG(-fstack-cleaner HAVE_C_STACK_CLEANER)
 
@@ -214,12 +212,6 @@ if(WIN32)
     message("You REALLY should use MinGW to compile SimGrid on Windows!")
   endif()
 
-  if(ARCH_32_BITS)      ### Arch 32bits
-    set(_WIN32 1)
-  else()        ### Arch 64bits
-    set(_WIN64 1)
-  endif()
-
   set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITEW6432})
   if(NSIS_WIN_VERSION MATCHES "")
     set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITECTURE})