Skip to content
Snippets Groups Projects
CMakeLists.txt 518 B
Newer Older
include_directories(. ${mhwd_SOURCE_DIR}/libmhwd)

###
### mhwd binary
###

set( HEADERS
Philip Müller's avatar
Philip Müller committed
	Config.hpp
	Data.hpp
	Device.hpp
	Enums.hpp
	Mhwd.hpp
	Printer.hpp
	Transaction.hpp
Philip Müller's avatar
Philip Müller committed
    Config.cpp
    Data.cpp
    Device.cpp
    main.cpp
    Mhwd.cpp
    Printer.cpp
    Transaction.cpp
)

set( LIBS mhwd)


add_executable(mhwd-bin ${SOURCES} ${HEADERS})
target_link_libraries(mhwd-bin ${LIBS})
set_target_properties(mhwd-bin PROPERTIES OUTPUT_NAME mhwd)


INSTALL(TARGETS mhwd-bin
  RUNTIME DESTINATION bin
)