diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt deleted file mode 100644 index 85c4af7..0000000 --- a/test_package/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -cmake_minimum_required(VERSION 3.12) -project(test_package CXX) - -find_package(InfluxDB REQUIRED) - -add_executable(test_package example.cpp) -target_link_libraries(test_package PRIVATE InfluxData::InfluxDB) -target_compile_features(test_package PRIVATE cxx_std_20) diff --git a/test_package/conanfile.py b/test_package/conanfile.py deleted file mode 100644 index 6dc41ae..0000000 --- a/test_package/conanfile.py +++ /dev/null @@ -1,26 +0,0 @@ -import os -from conan import ConanFile -from conan.tools.build import can_run -from conan.tools.cmake import CMake, cmake_layout - - -class TestPackageConan(ConanFile): - settings = "os", "arch", "compiler", "build_type" - generators = "CMakeToolchain", "CMakeDeps" - test_type = "explicit" - - def layout(self): - cmake_layout(self) - - def requirements(self): - self.requires(self.tested_reference_str) - - def build(self): - cmake = CMake(self) - cmake.configure() - cmake.build() - - def test(self): - if can_run(self): - bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package") - self.run(bin_path, env="conanrun") diff --git a/test_package/example.cpp b/test_package/example.cpp deleted file mode 100644 index 7ed7516..0000000 --- a/test_package/example.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include - -int main() -{ - auto influxdb = influxdb::InfluxDBFactory::Get("http://localhost:8086?db=test"); - influxdb->addGlobalTag("test", "value"); - return 0; -}