reactos/dll/win32/batt/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

15 lines
331 B
CMake

set_unicode()
spec2def(batt ${CMAKE_CURRENT_SOURCE_DIR}/batt.spec ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
add_library(batt SHARED batt.c batt.rc)
set_module_type(batt win32dll)
target_link_libraries(batt ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
add_importlibs(batt kernel32)
add_dependencies(batt batt_def)
add_cab_target(batt 1)