- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
This commit is contained in:
Jérôme Gardou 2010-10-08 13:47:39 +00:00
parent 27267a3cab
commit e20a0a30ee
4 changed files with 7 additions and 4 deletions

View file

@ -42,8 +42,8 @@ add_library(mingw_common ${MINGW_COMMON_SOURCE})
if(NOT MSVC)
target_link_libraries(mingw_common)
add_importlibs(mingw_common kernel32 ntdll oldnames)
add_dependencies(mingw_common oldnames)
# add_importlibs(mingw_common kernel32 ntdll oldnames)
# add_dependencies(mingw_common oldnames)
endif(NOT MSVC)
set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)

View file

@ -4,6 +4,8 @@
add_definitions(-D_STLP_USE_EXCEPTIONS)
include_directories(BEFORE ./stlport)
list(APPEND SOURCE
src/allocators.cpp
src/bitset.cpp