mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
14 lines
477 B
CMake
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()
|