2022-12-18 14:19:04 +00:00
|
|
|
################################################################################
|
|
|
|
## Project for working with OpenGL and Qt6 widgets ##
|
2023-01-02 03:26:58 +00:00
|
|
|
## ##
|
|
|
|
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
|
|
|
|
## All Content (c) 2023 Shaun Reed, all rights reserved ##
|
2022-12-18 14:19:04 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Qtk Library
|
|
|
|
add_subdirectory(qtk)
|
|
|
|
|
|
|
|
# Qtk Application
|
|
|
|
if (QTK_BUILD_GUI)
|
|
|
|
#TODO: Use this to test local builds?
|
|
|
|
# SET(CMAKE_INSTALL_RPATH "${QTK_INSTALL_PREFIX}/lib")
|
|
|
|
add_subdirectory(app)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Install export
|
|
|
|
install(EXPORT qtk-export
|
|
|
|
FILE QtkTargets.cmake
|
|
|
|
NAMESPACE Qtk::
|
|
|
|
CONFIGURATIONS Debug|Release
|
|
|
|
DESTINATION ${QTK_INSTALL_PREFIX}/cmake
|
|
|
|
)
|