17 lines
336 B
CMake
17 lines
336 B
CMake
set(BIN_NAME dlog${DTK_VERSION_MAJOR})
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core)
|
|
|
|
add_executable(${BIN_NAME}
|
|
main.cpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
${BIN_NAME} PRIVATE
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
${LIB_NAME}
|
|
)
|
|
target_include_directories(${BIN_NAME} PUBLIC
|
|
../../include/
|
|
)
|