Browse Source

adding compiler flags

Rob Parolin 6 years ago
parent
commit
f28c2933e6
1 changed files with 6 additions and 0 deletions
  1. 6 0
      CMakeLists.txt

+ 6 - 0
CMakeLists.txt

@@ -9,6 +9,12 @@ project(EAMain CXX)
 #-------------------------------------------------------------------------------------------
 option(EAMAIN_BUILD_TESTS "Enable generation of build files for tests" OFF)
 
+#-------------------------------------------------------------------------------------------
+# Compiler Flags
+#-------------------------------------------------------------------------------------------
+set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/test/packages/EASTL/scripts/CMake")
+include(CommonCppFlags)
+
 #-------------------------------------------------------------------------------------------
 # Library definition
 #-------------------------------------------------------------------------------------------