Add an experimental GTK+ UI
It has a potential to stay simpler than the TUI, while having a wider feature set. Not building this toy by default, it needs some time investment.
This commit is contained in:
@@ -179,6 +179,15 @@ add_executable (${PROJECT_NAME}
|
||||
${project_sources} ${project_headers} ${project_common_sources})
|
||||
target_link_libraries (${PROJECT_NAME} ${project_common_libraries})
|
||||
|
||||
# Experimental GTK+ frontend, we link it with ncurses but we don't care
|
||||
pkg_check_modules (gtk gtk+-3.0)
|
||||
if (gtk_FOUND)
|
||||
add_executable (sdgtk EXCLUDE_FROM_ALL
|
||||
src/sdgtk.c ${project_common_sources})
|
||||
target_include_directories (sdgtk PUBLIC ${gtk_INCLUDE_DIRS})
|
||||
target_link_libraries (sdgtk ${gtk_LIBRARIES} ${project_common_libraries})
|
||||
endif (gtk_FOUND)
|
||||
|
||||
# Tools
|
||||
set (tools add-pronunciation query-tool transform)
|
||||
foreach (tool ${tools})
|
||||
|
||||
Reference in New Issue
Block a user