diff --git a/scwx-qt/scwx-qt.cmake b/scwx-qt/scwx-qt.cmake index 7fef2526..3a239c22 100644 --- a/scwx-qt/scwx-qt.cmake +++ b/scwx-qt/scwx-qt.cmake @@ -40,6 +40,7 @@ set(SRC_MAIN source/scwx/qt/main/main_window.cpp) set(UI_MAIN source/scwx/qt/main/main_window.ui) set(HDR_CONFIG source/scwx/qt/config/radar_site.hpp) set(SRC_CONFIG source/scwx/qt/config/radar_site.cpp) +set(SRC_EXTERNAL source/scwx/qt/external/stb_rect_pack.cpp) set(HDR_GL source/scwx/qt/gl/gl.hpp source/scwx/qt/gl/gl_context.hpp source/scwx/qt/gl/shader_program.hpp @@ -147,6 +148,7 @@ set(PROJECT_SOURCES ${HDR_MAIN} ${SRC_MAIN} ${HDR_CONFIG} ${SRC_CONFIG} + ${SRC_EXTERNAL} ${HDR_GL} ${SRC_GL} ${HDR_GL_DRAW} @@ -181,6 +183,7 @@ source_group("Header Files\\main" FILES ${HDR_MAIN}) source_group("Source Files\\main" FILES ${SRC_MAIN}) source_group("Header Files\\config" FILES ${HDR_CONFIG}) source_group("Source Files\\config" FILES ${SRC_CONFIG}) +source_group("Source Files\\external" FILES ${SRC_EXTERNAL}) source_group("Header Files\\gl" FILES ${HDR_GL}) source_group("Source Files\\gl" FILES ${SRC_GL}) source_group("Header Files\\gl\\draw" FILES ${HDR_GL_DRAW}) diff --git a/scwx-qt/source/scwx/qt/external/stb_rect_pack.cpp b/scwx-qt/source/scwx/qt/external/stb_rect_pack.cpp new file mode 100644 index 00000000..32d48134 --- /dev/null +++ b/scwx-qt/source/scwx/qt/external/stb_rect_pack.cpp @@ -0,0 +1,2 @@ +#define STB_RECT_PACK_IMPLEMENTATION +#include