Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A C++ compiler is required for gtnets and ns3.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 27 Oct 2012 17:21:19 +0000 (19:21 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Sat, 27 Oct 2012 17:31:36 +0000 (19:31 +0200)
CMakeLists.txt

index 05b9c0e..8e9a8da 100644 (file)
@@ -4,6 +4,9 @@ if(WIN32)
   SET(CMAKE_RC_COMPILER "windres")
 endif()
 project(SimGrid C)
+if (enable_gtnets OR enable_ns3)
+  enable_language(CXX)
+endif()
 
 set(CMAKE_C_FLAGS "" CACHE TYPE INTERNAL FORCE)
 set(CMAKE_CXX_FLAGS "" CACHE TYPE INTERNAL FORCE)