[ROSAPPS] put -Wno-unused-but-set-variable between a if(NOT MSVC) to really make...
[reactos.git] / rosapps / applications / sysutils / utils / rosperf / CMakeLists.txt
1
2 list(APPEND SOURCE
3 rosperf.c
4 lines.c
5 fill.c
6 scroll.c
7 text.c
8 alphablend.c
9 testlist.c
10 gradient.c)
11
12 add_executable(rosperf ${SOURCE} rosperf.rc)
13 set_module_type(rosperf win32cui UNICODE)
14 if(NOT MSVC)
15 add_target_compile_flags(rosperf "-Wno-unused-but-set-variable")
16 endif()
17 add_importlibs(rosperf version msimg32 gdi32 shell32 advapi32 user32 ntdll msvcrt kernel32)
18 add_cd_file(TARGET rosperf DESTINATION reactos/system32 FOR all)