Skip to content
Snippets Groups Projects
Select Git revision
  • f2988c64055848d6d857b9d9558b9ed01e08dc15
  • main default protected
  • f-remove-deprecation-warning
  • dev
  • f-docs-pylib
  • f-parse-value
  • f-compare
  • f-string-ids
  • f-217-set-special-property
  • f-filesystem-import
  • f-filesystem-link
  • f-filesystem-directory
  • f-filesystem-core
  • f-filesystem-cleanup
  • f-check-merge-entities
  • f-compare-enid
  • f-select-subproperties
  • v0.18.0
  • v0.17.0
  • v0.16.0
  • v0.15.1
  • v0.15.0
  • v0.14.0
  • v0.13.2
  • v0.13.1
  • v0.13.0
  • linkahead-rename-step-2
  • linkahead-rename-step-1
  • v0.12.0
  • v0.11.2
  • v0.11.1
  • v0.11.0
  • v0.10.0
  • v0.9.0
  • v0.8.0
  • v0.7.4
  • v0.7.3
37 results

high_level_api.org

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    conanfile.py 687 B
    import os
    
    from conans import ConanFile, CMake, tools
    
    
    class LibcaosdbTestConan(ConanFile):
        settings = "os", "compiler", "build_type", "arch"
        generators = "cmake"
    
        def build(self):
            cmake = CMake(self)
            # Current dir is "test_package/build/<build_id>" and CMakeLists.txt is
            # in "test_package"
            cmake.configure()
            cmake.build()
    
        def imports(self):
            self.copy("*.dll", dst="bin", src="bin")
            self.copy("*.dylib*", dst="bin", src="lib")
            self.copy('*.so*', dst='bin', src='lib')
    
        def test(self):
            if not tools.cross_building(self):
                os.chdir("bin")
                self.run(".%sexample" % os.sep)