Explorar o código

added a hook for linux specific definitions

jos.itemis@gmail.com %!s(int64=13) %!d(string=hai) anos
pai
achega
84092663a7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      TestScenarios/CMakeLists.txt

+ 2 - 0
TestScenarios/CMakeLists.txt

@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.8)
 
 enable_testing()
 
+if(CMAKE_COMPILER_IS_GNUCC)
 add_definitions( -Wall -O0 -g)
+endif(CMAKE_COMPILER_IS_GNUCC)
 
 add_subdirectory(src-gen-c/InterfaceTest)
 add_subdirectory(src-gen-c/Test_Expression)