Skip to content

Commit

Permalink
Also import proxyfmu executable to the build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kyllingstad committed Nov 20, 2023
1 parent 1ac2872 commit 0244abd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit 0244abd

Please sign in to comment.