mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-14 16:02:55 +00:00
Merge: Snapmaker Orca 2.1.2
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <string_view>
|
||||
|
||||
// Test for nested namespace definition
|
||||
namespace OrcaSlicer::Cpp17 {
|
||||
namespace Snapmaker_Orca::Cpp17 {
|
||||
|
||||
template<class T> class Foo
|
||||
{
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
explicit Foo(T &&arg): m_arg{arg} {}
|
||||
};
|
||||
|
||||
} // namespace OrcaSlicer::Cpp17
|
||||
} // namespace Snapmaker_Orca::Cpp17
|
||||
|
||||
template<class T> std::string get_type(const T &v);
|
||||
|
||||
@@ -34,7 +34,7 @@ int main()
|
||||
// Template argument deduction for class templates
|
||||
// /////////////////////////////////////////////////////////////////////////
|
||||
|
||||
auto foo = OrcaSlicer::Cpp17::Foo{1.f};
|
||||
auto foo = Snapmaker_Orca::Cpp17::Foo{1.f};
|
||||
|
||||
// /////////////////////////////////////////////////////////////////////////
|
||||
// Structured bindings:
|
||||
|
||||
@@ -33,13 +33,13 @@ set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
||||
|
||||
if (WIN32)
|
||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
orcaslicer_copy_dlls(COPY_DLLS "Debug" "d" output_dlls_Debug)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "Debug" "d" output_dlls_Debug)
|
||||
elseif("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")
|
||||
orcaslicer_copy_dlls(COPY_DLLS "RelWithDebInfo" "" output_dlls_Release)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "RelWithDebInfo" "" output_dlls_Release)
|
||||
else()
|
||||
orcaslicer_copy_dlls(COPY_DLLS "Release" "" output_dlls_Release)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "Release" "" output_dlls_Release)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ")
|
||||
# add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${CATCH_EXTRA_ARGS})
|
||||
# catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ")
|
||||
add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${CATCH_EXTRA_ARGS})
|
||||
|
||||
@@ -11,11 +11,11 @@ set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
||||
|
||||
if (WIN32)
|
||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
orcaslicer_copy_dlls(COPY_DLLS "Debug" "d" output_dlls_Debug)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "Debug" "d" output_dlls_Debug)
|
||||
elseif("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")
|
||||
orcaslicer_copy_dlls(COPY_DLLS "RelWithDebInfo" "" output_dlls_Release)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "RelWithDebInfo" "" output_dlls_Release)
|
||||
else()
|
||||
orcaslicer_copy_dlls(COPY_DLLS "Release" "" output_dlls_Release)
|
||||
Snapmaker_Orca_copy_dlls(COPY_DLLS "Release" "" output_dlls_Release)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user