reactos/dll/cpl/main/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

31 lines
500 B
CMake

set_unicode()
add_definitions(-D_DLL -D__USE_CRTIMP)
spec2def(main ${CMAKE_CURRENT_SOURCE_DIR}/main.spec ${CMAKE_CURRENT_BINARY_DIR}/main.def)
add_library(main SHARED
keyboard.c
main.c
mouse.c
main.rc)
set_module_type(main cpl)
target_link_libraries(main ${CMAKE_CURRENT_BINARY_DIR}/main.def)
add_importlibs(main
msvcrt
advapi32
user32
comctl32
devmgr
comdlg32
shell32
gdi32
kernel32)
add_dependencies(main main_def)
add_cab_target(main 1)