Giter Club home page Giter Club logo

dd's Introduction

build and use

  1. Clone the repo. The directory structure is roughly like the following:
dd                               // Project root directory
|--- *bin                        // Output path, automatically generated after compilation, all output files are classified and placed here
|--- projects                    // projects directory, each subdirectory inside is a separate project
|    |--- ddbase                 // Output ddbase.lib, this lib encapsulates some commonly used utility functions and classes, such as string processing, file handling, etc.
|    |--- ddhook                 // Output ddhook.lib, this library is injection-related
|    |--- ddtools                // Output ddtools.exe, this exe provides some tools, such as packaging this library, code formatting, etc.
|    |--- ddwin                  // Output ddwin.lib, this lib provides some tools and classes for drawing Windows interface
|    |--- test                   // Output test.exe, this test is a unit test for this project, it's just a manual test, there is no pipeline
|    |--- test_syringe           // Output test_syringe.dll, this file is the testing DLL for ddhook
|--- .gitignore                  // Gitignore file
|--- build.bat                   // Build the entire project
|--- dd.sln                      // .sln file
|--- user.props                  // Defines some paths that will be used by the project (.vcxproj), such as the output path
  1. Run build.bat to compile. Or open the dd.sln with Visual studio, and build it yourself. The build out dir is dd\bin\. the directory structure is roughly like the following:
dd
|--- bin
|    |--- Debug_Mdd_Win32
|    |--- Debug_Mdd_x64
|    |--- Debug_Win32
|    |--- Debug_x64
|    |--- Release_Md_Win32
|    |--- Release_Md_x64
|    |--- Release_Win32
|    |--- Release_x64
  1. Add head file dir: dd\projects, and add the head file in your code #include "ddbase/ddmini_include.h", this will include some commonly used header files, and other files can be included as needed.
  2. Add the library dir: dd\bin\$(Configuration)_$(PlatForm)\, and add the needed lib ddbase.lib. If you use other libraries in this sln, they also need to be linked.

notes

  1. Due to the project's use of the STL library in its exported items, it is not recommended to directly send the header files and compiled lib files to others for use. Instead, it is advised to compile and use them locally on your own machine.
  2. The dependencies on other third-party libraries have been separated into individual projects, such as ddimage. These libraries will depend on this project, while this project does not rely on any other third-party libraries.

dd's People

Stargazers

yunate avatar  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.