From 0522c531dfc6c0d4e2552eece3949b07e330bca9 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 29 Nov 2010 18:36:22 +0000 Subject: [PATCH] [CMAKE] - Add the stubs file as an output file. svn path=/branches/cmake-bringup/; revision=49866 --- msc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msc.cmake b/msc.cmake index 1a1688856cb..45a4fe3140e 100644 --- a/msc.cmake +++ b/msc.cmake @@ -195,7 +195,7 @@ endmacro() macro(spec2def _dllname _spec_file) get_filename_component(_file ${_spec_file} NAME_WE) add_custom_command( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}.def ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c COMMAND native-spec2def -@ -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}) set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_file}.def ${CMAKE_CURRENT_BINARY_DIR}/${_file}_stubs.c