From 0244abdd6a4f358fd29c3922abe7eca02213cf35 Mon Sep 17 00:00:00 2001 From: "Lars T. Kyllingstad" Date: Mon, 20 Nov 2023 11:23:53 +0100 Subject: [PATCH] Also import proxyfmu executable to the build directory --- conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 7db8a0b6..42f6164a 100755 --- a/conanfile.py +++ b/conanfile.py @@ -68,7 +68,7 @@ def configure(self): self.options["*"].shared = self.options.shared def generate(self): - # Copy dependency DLLs to the folder where executables (tests, mainly) + # Copy dependencies to the folder where executables (tests, mainly) # will be placed, so it's easier to run them. bindir = os.path.join( self.build_folder, @@ -79,6 +79,8 @@ def generate(self): for depdir in dep.cpp_info.bindirs: copy(self, "*.dll", depdir, bindir, keep_path=False) copy(self, "*.pdb", depdir, bindir, keep_path=False) + copy(self, "proxyfmu*", depdir, bindir, keep_path=False) + # Generate CMake toolchain file tc = CMakeToolchain(self) tc.cache_variables["LIBCOSIM_BUILD_APIDOC"] = False