mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[MSVC]
Don't pass gcc specific options to msvc svn path=/branches/cmake-bringup/; revision=48818
This commit is contained in:
@@ -12,7 +12,9 @@ else()
|
||||
file(GLOB_RECURSE SOURCE "infhost*.c")
|
||||
|
||||
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
|
||||
if(NOT MSVC)
|
||||
add_definitions(-Wpointer-arith -Wconversion -Wstrict-prototypes -Wmissing-prototypes)
|
||||
endif()
|
||||
add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
|
||||
|
||||
endif()
|
||||
|
||||
@@ -12,7 +12,9 @@ else()
|
||||
file(GLOB_RECURSE SOURCE "infhost*.c")
|
||||
|
||||
add_definitions(-DWINE_UNICODE_API= -D__NO_CTYPE_INLINES -DINFLIB_HOST -DUSE_HOST_WCSFUNCS)
|
||||
if(NOT MSVC)
|
||||
add_definitions(-Wpointer-arith -Wwrite-strings)
|
||||
endif()
|
||||
add_library(newinflibhost ${GLOBAL_FILES} ${SOURCE})
|
||||
target_link_libraries(newinflibhost unicode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user