reactos/dll/win32/batt/CMakeLists.txt
Timo Kreuzer 390cf6bc5f [CMAKE]
Add a new macro set_export_spec(), that replaces the use of spec2def + adding the generated def file to the sources
Remove EXTERNAL_OBJECT TRUE property for the generated def files.

svn path=/branches/cmake-bringup/; revision=49629
2010-11-19 14:21:18 +00:00

15 lines
236 B
CMake

set_unicode()
add_library(batt SHARED batt.c batt.rc)
set_module_type(batt win32dll)
set_export_spec(batt batt.spec)
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/batt.def)
add_importlibs(batt kernel32)
add_cab_target(batt 1)