[ATACTL]
[reactos.git] / reactos / base / applications / atactl / CMakeLists.txt
1 set_cpp()
2 add_definitions(-DUSER_MODE)
3 include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/ide/uniata)
4 add_executable(atactl atactl.cpp atactl.rc)
5 set_module_type(atactl win32cui)
6 add_importlibs(atactl advapi32 msvcrt kernel32 ntdll)
7
8 if(NOT MSVC)
9 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
10 #allow_warnings(atactl)
11 set_source_files_properties(atactl.cpp PROPERTIES COMPILE_FLAGS "-Wno-error")
12 target_link_libraries(atactl gcc)
13 endif()
14
15 add_cd_file(TARGET atactl DESTINATION reactos/system32 FOR all)