mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[MSVC]
Don't pass gcc specific options to msvc svn path=/branches/cmake-bringup/; revision=48818
This commit is contained in:
parent
7330915418
commit
942aa9560e
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue