2014-08-17 23:35:44 +07:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
2014-08-19 06:34:00 +07:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
2014-08-17 23:35:44 +07:00
|
|
|
|
2013-08-29 22:35:09 +07:00
|
|
|
set(SRCS
|
|
|
|
commands.cpp
|
|
|
|
qhexedit.cpp
|
|
|
|
qhexedit_p.cpp
|
|
|
|
xbytearray.cpp)
|
|
|
|
|
2014-08-17 23:35:44 +07:00
|
|
|
set(HEADERS
|
|
|
|
qhexedit.h
|
|
|
|
qhexedit_p.h)
|
2013-08-29 22:35:09 +07:00
|
|
|
|
2014-08-17 23:35:44 +07:00
|
|
|
add_library(qhexedit STATIC ${SRCS} ${HEADERS})
|
2014-08-19 06:34:00 +07:00
|
|
|
if(USE_QT5)
|
|
|
|
target_link_libraries(qhexedit Qt5::Core Qt5::Widgets)
|
|
|
|
endif()
|
|
|
|
|