Giter Club home page Giter Club logo

cpldd's Introduction

CPLDD

CPLDD is a deployment script written in Python for Qt or non-Qt C/C++ executable programs. It scans and copies all "dll" dependencies into a user-specified single folder along with the executable itself. CPLDD utilizes the console output of ldd.exe from the MSYS2 project and windeployqt.exe for Qt/C++ applications. In general, the script can be used to deploy executables regardless of the compiler toolchain (MSVC/MSYS2/MinGW/Cygwin) used to build the executable. It is assumed that the shell or CMD environment in which CPLDD is run has all the DLL dependencies available in its path. This means the executable program can be successfully run in the shell or CMD without any DLL load failures. If not, only the partial dependencies available through the shell or CMD will be copied.

Command line usage:

python cpldd.py <Input_Exe_File> <Output_Folder_Path>

cpldd.exe <Input_Exe_File> <Output_Folder_Path>

Optional Arguments:

-f : Force dependencies from "system32" folder to be copied to the deployment folder, which is often undesired and un-necessary.

Sample Output:

The following two screenshots show console outputs when a C++ executable, which is an outcome of very complicated project with tons of dependencies (Qt//VTK/ITK/OpenBlas/muParser/Armadillo/tinyxml2 ...) is deployed using CPLDD. The two screenshots only differ by the compiler tool chain (MSVC vs MSYS2), which can be clearly seen in the output.

MSVC output MSYS2 output

Despite all the complicated dependencies, CPLDD has been shown to be successful 100%.

Download

Download the latest binaries from the release section: https://github.com/harshn05/cpldd/releases/latest.

cpldd's People

Contributors

harshn05 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.