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