Skip to content

Commit

Permalink
Remove debug log and use posix
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Oct 9, 2024
1 parent 75e8bf2 commit ec5f345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ExampleDependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ add_library(${PROJECT_NAME} SHARED ${PLUGIN_SOURCES})
# Include ManiVault headers, including system data plugins
target_include_directories(${PROJECT_NAME} PRIVATE "${ManiVault_INCLUDE_DIR}")

message(STATUS "ManiVault_INCLUDE_DIR: ${ManiVault_INCLUDE_DIR}")

# -----------------------------------------------------------------------------
# Target properties
# -----------------------------------------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def generate(self):

# Use the ManiVault .cmake files
mv_core_root = self.deps_cpp_info["hdps-core"].rootpath
self.manivault_dir = os.path.join(mv_core_root, "cmake", "mv")
self.manivault_dir = pathlib.Path(mv_core_root, "cmake", "mv").as_posix()

# Find ManiVault with find_package
tc.variables["ManiVault_DIR"] = self.manivault_dir
Expand Down Expand Up @@ -147,7 +147,7 @@ def build(self):
cmake.build(build_type="Release")

def package(self):
package_dir = os.path.join(self.build_folder, "package")
package_dir = pathlib.Path(self.build_folder, "package").as_posix()
print("Packaging install dir: ", package_dir)
subprocess.run(
[
Expand All @@ -157,7 +157,7 @@ def package(self):
"--config",
"Debug",
"--prefix",
os.path.join(package_dir, "Debug"),
pathlib.Path(package_dir, "Debug").as_posix(),
]
)
subprocess.run(
Expand All @@ -168,7 +168,7 @@ def package(self):
"--config",
"Release",
"--prefix",
os.path.join(package_dir, "Release"),
pathlib.Path(package_dir, "Release").as_posix(),
]
)
self.copy(pattern="*", src=package_dir)
Expand Down

0 comments on commit ec5f345

Please sign in to comment.