Added meta target sketch to build everything
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
project(DbMessaging)
|
||||
project(DbSketch)
|
||||
|
||||
add_custom_target(sketch)
|
||||
|
||||
add_subdirectory(sketchlib)
|
||||
add_subdirectory(sketchviewer)
|
||||
|
@@ -98,3 +98,5 @@ target_compile_definitions(sketchlib PRIVATE SKETCHLIB_LIBRARY)
|
||||
target_link_libraries(sketchlib Qt5::Core Qt5::Gui Qt5::Widgets quazip)
|
||||
|
||||
target_include_directories(sketchlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
add_dependencies(sketch sketchlib)
|
||||
|
@@ -8,3 +8,5 @@ set(SOURCES
|
||||
add_executable(sketchviewer ${HEADERS} ${SOURCES})
|
||||
|
||||
target_link_libraries(sketchviewer Qt5::Core Qt5::Network sketchlib)
|
||||
|
||||
add_dependencies(sketch sketchviewer)
|
||||
|
Reference in New Issue
Block a user