File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 103
103
<SubSystem >Console</SubSystem >
104
104
<ImportLibrary >$(OutDir)$(TargetName).lib</ImportLibrary >
105
105
<TargetMachine >MachineX86</TargetMachine >
106
+ <OptimizeReferences >true</OptimizeReferences >
106
107
</Link >
107
108
<PostBuildEvent >
108
109
<Command >
127
128
<GenerateDebugInformation >true</GenerateDebugInformation >
128
129
<SubSystem >Console</SubSystem >
129
130
<ImportLibrary >$(OutDir)$(TargetName).lib</ImportLibrary >
131
+ <OptimizeReferences >true</OptimizeReferences >
130
132
</Link >
131
133
<PostBuildEvent >
132
134
<Command >
176
178
<AdditionalDependencies >ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies >
177
179
<GenerateDebugInformation >false</GenerateDebugInformation >
178
180
<SubSystem >Console</SubSystem >
179
- <OptimizeReferences >false </OptimizeReferences >
181
+ <OptimizeReferences >true </OptimizeReferences >
180
182
<EnableCOMDATFolding >true</EnableCOMDATFolding >
181
183
<ImportLibrary >$(OutDir)$(TargetName).lib</ImportLibrary >
182
184
</Link >
Original file line number Diff line number Diff line change 1
1
#include " Settings.h"
2
2
3
+ namespace
4
+ {
5
+ constexpr auto DEGREES_OF_FREEDOM =
6
+ {
7
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationX, " RotationX" ),
8
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationY, " RotationY" ),
9
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationZ, " RotationZ" ),
10
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationX, " TranslationX" ),
11
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationY, " TranslationY" ),
12
+ std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationZ, " TranslationZ" )
13
+ };
14
+ }
15
+
3
16
const char * qualisys_cpp_sdk::SkeletonDofToStringSettings (EDegreeOfFreedom dof)
4
17
{
5
18
auto it = std::find_if (DEGREES_OF_FREEDOM.begin (), DEGREES_OF_FREEDOM.end (), [&](const auto & DEGREE_OF_FREEDOM) { return (DEGREE_OF_FREEDOM.first == dof); });
Original file line number Diff line number Diff line change @@ -624,16 +624,6 @@ namespace qualisys_cpp_sdk
624
624
std::vector<SSettingsSkeletonSegment> segments;
625
625
};
626
626
627
- constexpr auto DEGREES_OF_FREEDOM =
628
- {
629
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationX, " RotationX" ),
630
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationY, " RotationY" ),
631
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::RotationZ, " RotationZ" ),
632
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationX, " TranslationX" ),
633
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationY, " TranslationY" ),
634
- std::make_pair (qualisys_cpp_sdk::EDegreeOfFreedom::TranslationZ, " TranslationZ" )
635
- };
636
-
637
627
DLL_EXPORT const char * SkeletonDofToStringSettings (EDegreeOfFreedom dof);
638
628
639
629
DLL_EXPORT EDegreeOfFreedom SkeletonStringToDofSettings (const std::string& str);
You can’t perform that action at this time.
0 commit comments