added std:: to a lot of locations which where

missed and added NOMINMAX to cmakelist
This commit is contained in:
Arthur Ice
2013-05-22 23:01:43 -07:00
parent ea2a1651d5
commit 5255c236c3
17 changed files with 71 additions and 56 deletions
+1
View File
@@ -22,6 +22,7 @@ ADD_EXECUTABLE(shared_memory ${shared_memory_sources} ${shared_memory_headers})
TARGET_LINK_LIBRARIES(shared_memory Common debug ${MySQL_LIBRARY_DEBUG} optimized ${MySQL_LIBRARY_RELEASE} ${ZLIB_LIBRARY})
IF(MSVC)
ADD_DEFINITIONS(-DNOMINMAX)
SET_TARGET_PROPERTIES(shared_memory PROPERTIES LINK_FLAGS_RELEASE "/OPT:REF /OPT:ICF")
TARGET_LINK_LIBRARIES(shared_memory "Ws2_32.lib")
ENDIF(MSVC)