2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
set_unicode()
|
2010-08-22 00:52:26 +00:00
|
|
|
|
|
|
|
spec2def(batt ${CMAKE_CURRENT_SOURCE_DIR}/batt.spec ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
|
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
add_library(batt SHARED batt.c batt.rc)
|
2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
set_module_type(batt win32dll)
|
2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
target_link_libraries(batt ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
|
2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
add_importlibs(batt kernel32)
|
|
|
|
add_dependencies(batt batt_def)
|
2010-10-22 19:40:56 +00:00
|
|
|
add_livecd_target(batt reactos/system32)
|