[ros-diffs] [akhaldi] 48357: [CMAKE] - mingw_common : set_property -> set_target_properties. - crt : fix target properties.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Thu Jul 29 15:52:01 UTC 2010


Author: akhaldi
Date: Thu Jul 29 15:52:00 2010
New Revision: 48357

URL: http://svn.reactos.org/svn/reactos?rev=48357&view=rev
Log:
[CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

Modified:
    branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
    branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt

Modified: branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt?rev=48357&r1=48356&r2=48357&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] Thu Jul 29 15:52:00 2010
@@ -37,7 +37,7 @@
 add_library(mingw_common ${MINGW_COMMON_SOURCE})
 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)
 

Modified: branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt?rev=48357&r1=48356&r2=48357&view=diff
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] Thu Jul 29 15:52:00 2010
@@ -9,7 +9,7 @@
 LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c)
 
 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)
 
 get_directory_property(defines COMPILE_DEFINITIONS)




More information about the Ros-diffs mailing list