Merge pull request #7513 from prusa3d/fs_VS_filters
add VS filter by subdir
This commit is contained in:
commit
a16c89b5a8
@ -14,7 +14,7 @@ if (TARGET OpenVDB::openvdb)
|
|||||||
set(OpenVDBUtils_SOURCES OpenVDBUtils.cpp OpenVDBUtils.hpp)
|
set(OpenVDBUtils_SOURCES OpenVDBUtils.cpp OpenVDBUtils.hpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(libslic3r STATIC
|
set(SLIC3R_SOURCES
|
||||||
pchheader.cpp
|
pchheader.cpp
|
||||||
pchheader.hpp
|
pchheader.hpp
|
||||||
BoundingBox.cpp
|
BoundingBox.cpp
|
||||||
@ -291,6 +291,14 @@ add_library(libslic3r STATIC
|
|||||||
SLA/ReprojectPointsOnMesh.hpp
|
SLA/ReprojectPointsOnMesh.hpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_library(libslic3r STATIC ${SLIC3R_SOURCES})
|
||||||
|
|
||||||
|
foreach(_source IN ITEMS ${SLIC3R_SOURCES})
|
||||||
|
get_filename_component(_source_path "${_source}" PATH)
|
||||||
|
string(REPLACE "/" "\\" _group_path "${_source_path}")
|
||||||
|
source_group("${_group_path}" FILES "${_source}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
if (SLIC3R_STATIC)
|
if (SLIC3R_STATIC)
|
||||||
set(CGAL_Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE)
|
set(CGAL_Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -258,6 +258,12 @@ endif ()
|
|||||||
|
|
||||||
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
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)
|
encoding_check(libslic3r_gui)
|
||||||
|
|
||||||
target_link_libraries(libslic3r_gui libslic3r avrdude cereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES})
|
target_link_libraries(libslic3r_gui libslic3r avrdude cereal imgui GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES})
|
||||||
|
Loading…
Reference in New Issue
Block a user