

In this case, the settings that would affect a normal build, and even the other option (static vs The package has 2 options set, to be compiled as a static (as opposed to shared) library, and also not to involve any builds, because build_modules = def configure ( self ): # If header only, the compiler, etc, does not affect the package! if self. srcdirs = # Directories where sources can be found (debugging, reusing sources) self. bindirs = # Directories where executables and shared libs can be found self. resdirs = # Directories where resources, data, etc. libdirs = # Directories where libraries can be found self. system_libs = # System libs to link against self. includedirs = # Ordered list of include paths self. Source folder), and the other will copy from the build folder ( src parameter of py() will point to the build folder). source-folder=source -build-folder=build) or when no_copy_source is defined,Įvery py() is internally called twice: One will copy from the source folder ( src parameter of py() will point to the


#Cmake copy file if newer how to
Please check How to reuse cmake install for package() method. If you are using CMake and you have an install target defined in your CMakeLists.txt, you might be able to reuse it for this ignore_case (Optional, Defaulted to True): If enabled, it will do a case-insensitive pattern matching.If a file matchesīoth the include and the exclude pattern, it will be excluded. excludes (Optional, Defaulted to None): Single pattern or a tuple of patterns to be excluded from the copy.symlinks (Optional, Defaulted to None): Set it to True to activate symlink copying, like typical lib.so->lib.so.9.Typically headers are packaged with relative path.

#Cmake copy file if newer code
The download, unzip utilities can be imported from conan, but you can also use your own code here
