mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:22:59 +00:00
[CMAKE]
- The suffix variable already holds a dot, don't add another one. Fixes import libs generation. svn path=/branches/cmake-bringup/; revision=50525
This commit is contained in:
parent
8c4b892bea
commit
818d876f00
2 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ macro(add_importlib_target _exports_file)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
|
OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
|
||||||
COMMAND native-spec2def -n=${_name}.${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
|
COMMAND native-spec2def -n=${_name}${_suffix} -a=${ARCH2} -d=${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
|
||||||
COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
|
COMMAND ${MINGW_PREFIX}dlltool --def ${CMAKE_CURRENT_BINARY_DIR}/${_name}_implib.def --kill-at --output-lib=${CMAKE_BINARY_DIR}/importlibs/lib${_name}.a
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,7 @@ macro(add_importlib_target _exports_file)
|
||||||
# Generate the asm stub file and the export def file
|
# Generate the asm stub file and the export def file
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_stubs.asm ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_exp.def
|
OUTPUT ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_stubs.asm ${CMAKE_BINARY_DIR}/importlibs/lib${_name}_exp.def
|
||||||
COMMAND native-spec2def --ms --kill-at -r -n=${_name}.${_suffix} -d=${CMAKE_BINARY_DIR}/importlibs/lib${_name}_exp.def -l=${CMAKE_BINARY_DIR}/importlibs/lib${_name}_stubs.asm ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
|
COMMAND native-spec2def --ms --kill-at -r -n=${_name}${_suffix} -d=${CMAKE_BINARY_DIR}/importlibs/lib${_name}_exp.def -l=${CMAKE_BINARY_DIR}/importlibs/lib${_name}_stubs.asm ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file}
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_exports_file})
|
||||||
|
|
||||||
# Assemble the stub file
|
# Assemble the stub file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue