1 2set_unicode() 3 4spec2def(devcpux ${CMAKE_CURRENT_SOURCE_DIR}/devcpux.spec ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def) 5 6add_library(devcpux SHARED processor.c processor.rc) 7 8set_module_type(devcpux win32dll) 9 10target_link_libraries(devcpux ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def) 11 12add_importlibs(devcpux 13 user32 14 powrprof 15 comctl32 16 kernel32 17 ntdll) 18 19add_dependencies(devcpux devcpux_def) 20add_livecd_target(devcpux reactos/system32) 21