- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357
This commit is contained in:
Amine Khaldi 2010-07-29 15:52:00 +00:00
parent 102a9c242e
commit 6bdc331638
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ set(MINGW_COMMON_SOURCE
add_library(mingw_common ${MINGW_COMMON_SOURCE}) add_library(mingw_common ${MINGW_COMMON_SOURCE})
target_link_libraries(mingw_common oldnames) target_link_libraries(mingw_common oldnames)
set_property(TARGET mingw_common PROPERTY COMPILE_DEFINITIONS _M_CEE_PURE) set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
add_dependencies(mingw_common psdk) add_dependencies(mingw_common psdk)

View file

@ -9,7 +9,7 @@ LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/stdio/findgen.c)
LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c) LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c)
add_library(crt ${CRT_SOURCE}) add_library(crt ${CRT_SOURCE})
set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS -D__MINGW_IMPORT=extern -DUSE_MSVCRT_PREFIX -D_MSVCRT_LIB_ -D_MSVCRT_ -D_MT) set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT)
add_dependencies(crt psdk) add_dependencies(crt psdk)
get_directory_property(defines COMPILE_DEFINITIONS) get_directory_property(defines COMPILE_DEFINITIONS)