diff options
author | Filip Sykala <filip.sykala@prusa3d.cz> | 2021-12-15 16:22:27 +0300 |
---|---|---|
committer | Filip Sykala <filip.sykala@prusa3d.cz> | 2021-12-15 16:22:27 +0300 |
commit | 9e88eb09b51f95e676486ed072153393a6c9d1aa (patch) | |
tree | 1b59d613d3c1ff403689b2cff2095752db505719 /src/slic3r | |
parent | 6204d107eef946f42fdac8dcc4e2d38e700aac49 (diff) |
add VS filter by subdir
Diffstat (limited to 'src/slic3r')
-rw-r--r-- | src/slic3r/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt index 34cc98051..211a2c2e7 100644 --- a/src/slic3r/CMakeLists.txt +++ b/src/slic3r/CMakeLists.txt @@ -258,6 +258,12 @@ endif () add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES}) +foreach(_source IN ITEMS ${SLIC3R_GUI_SOURCES}) + get_filename_component(_source_path "${_source}" PATH) + string(REPLACE "/" "\\" _group_path "${_source_path}") + source_group("${_group_path}" FILES "${_source}") +endforeach() + encoding_check(libslic3r_gui) target_link_libraries(libslic3r_gui libslic3r avrdude cereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES}) |