Author: akhaldi
Date: Thu Dec 2 23:37:33 2010
New Revision: 49908
URL:
http://svn.reactos.org/svn/reactos?rev=49908&view=rev
Log:
[CMAKE]
- Adapt to the new spec2def syntax.
Modified:
branches/cmake-bringup/gcc.cmake
Modified: branches/cmake-bringup/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/gcc.cmake?rev=499…
==============================================================================
--- branches/cmake-bringup/gcc.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/gcc.cmake [iso-8859-1] Thu Dec 2 23:37:33 2010
@@ -198,7 +198,7 @@
get_filename_component(_name ${_spec_file} NAME_WE)
add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
- COMMAND native-spec2def ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}
${CMAKE_CURRENT_BINARY_DIR}/${_name}.def
+ COMMAND native-spec2def -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}.def
${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file}
COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}.def
--kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file})
add_custom_target(