From 45976da975a21359cfcc9a05c575ed8b07575612 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 23 Aug 2014 22:22:05 -0300 Subject: CMake cleanup Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers. --- externals/qhexedit/CMakeLists.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'externals/qhexedit') diff --git a/externals/qhexedit/CMakeLists.txt b/externals/qhexedit/CMakeLists.txt index b1f631f9..e7470dfe 100644 --- a/externals/qhexedit/CMakeLists.txt +++ b/externals/qhexedit/CMakeLists.txt @@ -5,14 +5,17 @@ set(SRCS commands.cpp qhexedit.cpp qhexedit_p.cpp - xbytearray.cpp) + xbytearray.cpp + ) set(HEADERS + commands.h qhexedit.h - qhexedit_p.h) + qhexedit_p.h + xbytearray.h + ) -add_library(qhexedit STATIC ${SRCS} ${HEADERS}) -if(USE_QT5) - target_link_libraries(qhexedit Qt5::Core Qt5::Widgets) -endif() +create_directory_groups(${SRCS} ${HEADERS}) +add_library(qhexedit STATIC ${SRCS} ${HEADERS}) +target_link_libraries(qhexedit ${CITRA_QT_LIBS}) -- cgit v1.2.3