chore: made pqxx statically linked

This commit is contained in:
Martin Slachta
2026-08-05 18:31:21 +02:00
parent b71f740b9a
commit 0260b4a0a0
16 changed files with 21 additions and 70 deletions
+1 -3
View File
@@ -21,7 +21,7 @@ add_dependencies(tw_shaders imgui::plot imgui::plot)
target_link_libraries(${PROJECT_NAME}
PUBLIC
towards
tw_common
tw::network
tw::metrics
tw::quicr
@@ -41,8 +41,6 @@ target_link_libraries(${PROJECT_NAME}
Jolt
Tracy::TracyClient
TracyClient
# pqxx
# pq
)
target_include_directories(${PROJECT_NAME}
@@ -10,34 +10,5 @@ class tw::dbg::ComponentGui<tw::CharacterController> {
public:
void draw(tw::CharacterController* instance) {
ImGui::SeparatorText("Character Controller Component");
if(ImGui::BeginTable("history", 3)) {
for(auto key : instance->input_history().buffer()) {
// ImGui::TableNextRow();
// ImGui::TableNextColumn();
// ImGui::Text("%u", key.first);
// ImGui::TableNextColumn();
// if(instance->input_history().get(key.first).has_value()) {
// glm::vec3 input_vec = *instance->input_history().get(key.first).value();
// std::string input = std::format("{} {} {}", input_vec.x, input_vec.y, input_vec.z);
// ImGui::Text("%s", input.c_str());
// } else {
// ImGui::Text("None");
// }
// ImGui::TableNextColumn();
// if(instance->position_history().get(key).has_value()) {
// glm::vec3 position_vec = *instance->position_history().get(key).value();
// std::string position = std::format("{} {} {}", position_vec.x, position_vec.y, position_vec.z);
// ImGui::Text("%s", position.c_str());
// } else {
// ImGui::Text("None");
// }
}
ImGui::EndTable();
}
}
};