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