29 lines
524 B
CMake
29 lines
524 B
CMake
set(CORE_SOURCES
|
|
MainWindow.cpp
|
|
MainWindow.h
|
|
IPlugin.h
|
|
ProjectManager.cpp
|
|
ProjectManager.h
|
|
Settings.cpp
|
|
Settings.h
|
|
ThemeManager.cpp
|
|
ThemeManager.h
|
|
AboutDialog.cpp
|
|
AboutDialog.h
|
|
)
|
|
|
|
add_library(BareCode_Core STATIC ${CORE_SOURCES})
|
|
|
|
target_link_libraries(BareCode_Core PUBLIC
|
|
Qt6::Core
|
|
Qt6::Gui
|
|
Qt6::Widgets
|
|
BareCode_Editor
|
|
BareCode_FileTree
|
|
)
|
|
|
|
target_include_directories(BareCode_Core PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
)
|