play around with Scintilla and Lexilla
This commit is contained in:
@ -12,6 +12,8 @@ set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON) # kconfig generated header file is in binary dir
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # for copy subproject dll to binary folder. this might not be the correct approach tho
|
||||
|
||||
find_package(Qt6 6.4 REQUIRED
|
||||
COMPONENTS Widgets
|
||||
)
|
||||
@ -20,6 +22,9 @@ find_package(KF6 6.3 REQUIRED
|
||||
COMPONENTS XmlGui ConfigWidgets CoreAddons I18n IconThemes
|
||||
)
|
||||
|
||||
add_subdirectory(3rdparty/scintilla550)
|
||||
add_subdirectory(3rdparty/lexilla532)
|
||||
|
||||
add_executable(pineapple-notepad
|
||||
generalsettings.ui)
|
||||
|
||||
@ -27,6 +32,7 @@ target_sources(pineapple-notepad
|
||||
PRIVATE
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h
|
||||
sciedit.cpp sciedit.h
|
||||
editorviewhelper.cpp editorviewhelper.h
|
||||
generalsettings.ui
|
||||
|
||||
@ -48,5 +54,6 @@ PRIVATE
|
||||
KF6::I18n
|
||||
KF6::ConfigWidgets
|
||||
KF6::IconThemes
|
||||
qscintilla2_qt6
|
||||
scintilla-qt
|
||||
lexilla
|
||||
)
|
||||
|
Reference in New Issue
Block a user