File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ endfunction()
133
133
134
134
#define those for having real libraries
135
135
set (CMAKE_IMPLIB_CREATE_STATIC_LIBRARY "LINK /LIB /NOLOGO <LINK_FLAGS> /OUT:<TARGET> <OBJECTS>" )
136
-
136
+ set ( CMAKE_STUB_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> /Fo<OBJECT> /c /Ta <SOURCE>" )
137
137
# Thanks MS for creating a stupid linker
138
138
function (add_importlib_target _exports_file _implib_name )
139
139
@@ -145,7 +145,7 @@ function(add_importlib_target _exports_file _implib_name)
145
145
COMMAND native-spec2def --ms --kill-at -a=${SPEC2DEF_ARCH} --implib -n=${_implib_name} -d=${CMAKE_CURRENT_BINARY_DIR}/lib${_name}_exp.def -l=${CMAKE_CURRENT_BINARY_DIR}/lib${_name}_stubs.asm ${CMAKE_CURRENT_SOURCE_DIR} /${_exports_file}
146
146
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR} /${_exports_file} native-spec2def )
147
147
# be clear about the language
148
- set_source_files_properties (${CMAKE_CURRENT_BINARY_DIR} /lib${_name}_stubs.asm PROPERTIES LANGUAGE "ASM " )
148
+ set_source_files_properties (${CMAKE_CURRENT_BINARY_DIR} /lib${_name}_stubs.asm PROPERTIES LANGUAGE "STUB_ASM " )
149
149
150
150
# add our library
151
151
# NOTE: as stub file and def file are generated in one pass, depending on one is like depending on the other
You can’t perform that action at this time.
0 commit comments