2013-06-22 14:44:56 +00:00
|
|
|
|
2012-09-05 21:39:43 +00:00
|
|
|
set_cpp()
|
2013-06-22 14:44:56 +00:00
|
|
|
|
2012-07-31 17:18:47 +00:00
|
|
|
add_definitions(-DUSER_MODE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/ide/uniata)
|
2013-06-16 10:58:55 +00:00
|
|
|
add_executable(atactl atactl.cpp atactl.rc)
|
2012-07-31 17:18:47 +00:00
|
|
|
set_module_type(atactl win32cui)
|
|
|
|
add_importlibs(atactl advapi32 msvcrt kernel32 ntdll)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
|
|
|
#allow_warnings(atactl)
|
|
|
|
set_source_files_properties(atactl.cpp PROPERTIES COMPILE_FLAGS "-Wno-error")
|
|
|
|
endif()
|
2013-06-16 10:58:55 +00:00
|
|
|
|
|
|
|
add_cd_file(TARGET atactl DESTINATION reactos/system32 FOR all)
|