Permalink
Browse files

Adding compiler flags section for Windows

  • Loading branch information...
1 parent 7d5dd33 commit e80a6cd76fa0a42f8a05ad35be58f01b17c8306a @nikreiman nikreiman committed Nov 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
View
@@ -98,6 +98,9 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_C_FLAGS "-arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -std=c99 -Wmissing-field-initializers -Wall -Wmissing-prototypes -Wreturn-type -Wunused-variable -pedantic -Wshadow -Wsign-compare -Wnewline-eof -Wshorten-64-to-32 -fasm-blocks -mmacosx-version-min=10.4")
set(CMAKE_CXX_FLAGS "-arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Wmissing-field-initializers -Wall -Wmissing-prototypes -Wreturn-type -Wunused-variable -pedantic -Wshadow -Wsign-compare -Wnewline-eof -Wshorten-64-to-32 -fasm-blocks -mmacosx-version-min=10.4")
set(CMAKE_EXE_LINKER_FLAGS "-arch i386 -framework Carbon -framework CoreFoundation")
+elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
+ set(CMAKE_C_FLAGS "")
+ set(CMAKE_CXX_FLAGS "")
endif()
if(CMAKE_BUILD_TYPE MATCHES "Debug")

0 comments on commit e80a6cd

Please sign in to comment.