From 03d1ff23e1ceacb4cb784efe48b3c93ef12acb14 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 12 Jul 2020 12:26:38 +0200 Subject: [PATCH] Log exact cmake command used by conan. --- CMakeLists.txt | 2 +- conanfile.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce67036..954b0a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,8 @@ if (STATICC) endif () endif (STATICC) -file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp") if (NOT DEFINED CONAN_EXPORTED) + file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp") add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp) target_link_libraries(ArbutilsTests Arbutils) endif () diff --git a/conanfile.py b/conanfile.py index 97acb03..7f1f19e 100644 --- a/conanfile.py +++ b/conanfile.py @@ -30,6 +30,7 @@ class ArbutilsConan(ConanFile): cmake.definitions["STATICC"] = "On" cmake.configure() + self.output.info("running `cmake " + cmake.command_line + "`") cmake.build() def package(self):