- cmake handles gracefully def files if you tell him to do ;-)
  - partial revert of an (accidental?) kernel32 change

svn path=/branches/cmake-bringup/; revision=49380
This commit is contained in:
Jérôme Gardou 2010-10-31 22:15:35 +00:00
parent 1ddb50ec34
commit a6524961b3
2 changed files with 5 additions and 3 deletions

View file

@ -46,7 +46,9 @@ MACRO(spec2def _dllname _spec_file)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def
COMMAND native-winebuild -o ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def --def -E ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file} --filename ${_dllname}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file})
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file})
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def
PROPERTIES GENERATED TRUE EXTERNAL_OBJECT TRUE)
ENDMACRO(spec2def _dllname _spec_file)
if (NOT MSVC)

View file

@ -100,8 +100,8 @@ list(APPEND SOURCE
if(ARCH MATCHES i386)
list(APPEND SOURCE
# thread/i386/fiber.S
# thread/i386/thread.S
thread/i386/fiber.S
thread/i386/thread.S
)
elseif(ARCH MATCHES amd64)
list(APPEND SOURCE