mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
43ee605045
Make the GUI version actually work by disabling wmain per ifdef which will be set only at CUI build. Fix resources to make the text fit nicely and get rid of the RLEXT/LTEXT mess Add German translation svn path=/trunk/; revision=67319
25 lines
716 B
CMake
25 lines
716 B
CMake
|
|
set_cpp(WITH_RUNTIME WITH_STL)
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
list(APPEND SOURCE
|
|
Fraginator.cpp
|
|
MainDialog.cpp
|
|
ReportDialog.cpp)
|
|
|
|
list(APPEND UNFRAG_SOURCE
|
|
Unfrag.cpp
|
|
Defragment.cpp
|
|
DriveVolume.cpp)
|
|
|
|
add_executable(frag ${SOURCE} ${UNFRAG_SOURCE} Fraginator.rc)
|
|
set_module_type(frag win32gui UNICODE)
|
|
add_importlibs(frag user32 advapi32 shell32 comctl32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET frag DESTINATION reactos/system32 FOR all)
|
|
|
|
add_executable(unfrag ${UNFRAG_SOURCE})
|
|
add_target_compile_definitions(unfrag "_CUI_")
|
|
set_module_type(unfrag win32cui UNICODE)
|
|
add_importlibs(unfrag advapi32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET unfrag DESTINATION reactos/system32 FOR all) |