mirror of
https://github.com/reactos/reactos.git
synced 2024-10-08 18:29:05 +00:00
390cf6bc5f
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
15 lines
236 B
CMake
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)
|