[ros-diffs] [akhaldi] 56295: [CMAKE] * Revert back to the old def handling for now, we'll get to tackle that later.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Sat Mar 31 21:52:10 UTC 2012


Author: akhaldi
Date: Sat Mar 31 21:52:09 2012
New Revision: 56295

URL: http://svn.reactos.org/svn/reactos?rev=56295&view=rev
Log:
[CMAKE]
* Revert back to the old def handling for now, we'll get to tackle that later.

Modified:
    trunk/reactos/cmake/msvc.cmake

Modified: trunk/reactos/cmake/msvc.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=56295&r1=56294&r2=56295&view=diff
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sat Mar 31 21:52:09 2012
@@ -153,9 +153,8 @@
         OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c
         COMMAND native-spec2def --ms --kill-at -a=${SPEC2DEF_ARCH} -n=${_dllname} -d=${CMAKE_CURRENT_BINARY_DIR}/${_file}.def -s=${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}
         DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file} native-spec2def)
-    set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def PROPERTIES EXTERNAL_OBJECT TRUE)
-    
-    if(__add_importlib)
+
+        if(__add_importlib)
         # Generate the asm stub file and the export def file for import library
         add_custom_command(
             OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lib${_file}_stubs.asm ${CMAKE_CURRENT_BINARY_DIR}/lib${_file}_exp.def




More information about the Ros-diffs mailing list