Log exact cmake command used by conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-07-12 12:26:38 +02:00
parent 1ddbfb09b9
commit 03d1ff23e1
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
2 changed files with 2 additions and 1 deletions

View File

@ -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 ()

View File

@ -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):