diff options
author | unknown <paulx161@umn.edu> | 2021-02-03 14:22:28 -0600 |
---|---|---|
committer | unknown <paulx161@umn.edu> | 2021-02-03 14:22:28 -0600 |
commit | 9b83919815f6a6ce5d73da1c28483970d0ca5589 (patch) | |
tree | 4558864445dccc1605e5315e0bb11c46d2018da1 /dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt | |
parent | Added worksheet and support code for assignment 2 (diff) | |
download | csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar.gz csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar.bz2 csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar.lz csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar.xz csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.tar.zst csci4611-9b83919815f6a6ce5d73da1c28483970d0ca5589.zip |
added dev/MinGfx/
Diffstat (limited to 'dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt')
-rw-r--r-- | dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt b/dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt new file mode 100644 index 0000000..5e49e7c --- /dev/null +++ b/dev/MinGfx/tests/gui_plus_opengl/CMakeLists.txt @@ -0,0 +1,44 @@ +# This file is part of the MinGfx cmake build system. +# See the main MinGfx/CMakeLists.txt file for details. + +project(mingfx-test-gui-plus-opengl) + + +# Source: +set (SOURCEFILES + gui_plus_opengl.cc + main.cc +) +set (HEADERFILES + gui_plus_opengl.h +) +set (CONFIGFILES +) + + +# Define the target +add_executable(${PROJECT_NAME} ${HEADERFILES} ${SOURCEFILES}) + + +# Add dependency on libMinGfx: +target_include_directories(${PROJECT_NAME} PUBLIC ../../src) +target_link_libraries(${PROJECT_NAME} PUBLIC MinGfx) + +# Add external dependency on NanoGUI +include(AutoBuildNanoGUI) +AutoBuild_use_package_NanoGUI(${PROJECT_NAME} PUBLIC) + + + +# Installation: +install(TARGETS ${PROJECT_NAME} + RUNTIME DESTINATION ${INSTALL_BIN_DEST} + COMPONENT Tests) + + +# For better organization when using an IDE with folder structures: +set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "Tests") +source_group("Header Files" FILES ${HEADERFILES}) +set_source_files_properties(${CONFIGFILES} PROPERTIES HEADER_FILE_ONLY TRUE) +source_group("Config Files" FILES ${CONFIGFILES}) + |