mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 22:12:46 +01:00
45976da975
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.
21 lines
450 B
CMake
21 lines
450 B
CMake
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(SRCS
|
|
commands.cpp
|
|
qhexedit.cpp
|
|
qhexedit_p.cpp
|
|
xbytearray.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
commands.h
|
|
qhexedit.h
|
|
qhexedit_p.h
|
|
xbytearray.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(qhexedit STATIC ${SRCS} ${HEADERS})
|
|
target_link_libraries(qhexedit ${CITRA_QT_LIBS})
|