mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
7e069ccdb2
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
13 lines
477 B
CMake
13 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()
|