reactos/modules/rosapps/applications/winfile/CMakeLists.txt
Victor Perevertkin 7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00

14 lines
477 B
CMake

add_executable(winefile winefile.c rsrc.rc)
set_module_type(winefile win32gui UNICODE)
add_importlibs(winefile advapi32 gdi32 user32 ws2_32 msimg32 version mpr comctl32 comdlg32 ole32 oleaut32 shell32 shlwapi msvcrt kernel32 ntdll)
target_link_libraries(winefile uuid)
add_cd_file(TARGET winefile DESTINATION reactos/system32 FOR all)
#if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
# target_compile_options(winefile PRIVATE "-Wno-format")
#endif()