mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
89271fe38d
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake. Fix pch use in fmifs. Enable remaining dlls in dll/win32/CMakeLists.txt. svn path=/branches/cmake-bringup/; revision=49230
29 lines
545 B
CMake
29 lines
545 B
CMake
|
|
set_unicode()
|
|
|
|
spec2def(powercfg ${CMAKE_CURRENT_SOURCE_DIR}/powercfg.spec ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
|
|
|
|
add_library(powercfg SHARED
|
|
powercfg.c
|
|
powershemes.c
|
|
alarms.c
|
|
advanced.c
|
|
hibernate.c
|
|
powercfg.rc)
|
|
|
|
|
|
set_module_type(powercfg cpl)
|
|
|
|
target_link_libraries(powercfg ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
|
|
|
|
add_importlibs(powercfg
|
|
msvcrt
|
|
user32
|
|
powrprof
|
|
comctl32
|
|
shell32
|
|
advapi32
|
|
kernel32)
|
|
|
|
add_dependencies(powercfg powercfg_def)
|
|
add_livecd_target(powercfg reactos/system32)
|