Giter VIP home page Giter VIP logo

jucemolder's Introduction

JuceMolder

mold JUCE source files into one

Synompsis

To mold one JUCE header/source file:

perl combine_source.pl -in path_to_juce/modules/juce_core/juce_core.cpp -out molded_output/juce_core.cpp

To convert whole JUCE into CMake-managed project:

perl create_juce_cmake.pl -modules path_to_juce/modules -out juce_cmake_project

Description

JUCE is widely used in audio application development. However, it has quite weird source file layout, where many small implementation source files (such as juce_core/containers/AbstractFifo.cpp, juce_core/containers/AbstractFifo.h) are included in one bundle file (such as juce_core.cpp, juce_core.h), and only that bundle file is compiled. In this manner of layout, it is hard for IDE to analyze the implementation files, as each are "incomplete" from their own view.

To solve it, I write this script to mold the implementation source files into the bundle file. This would make each file "complete" and make IDE easyer to analyze.

In addition, as I'm making projects using CMake, I also write a script to generate CMake project according to JUCE module format declaration in each JUCE module's header file.

Usage

  • Clone or download this repo.
  • If you want to create CMake project, run create_juce_cmake.pl.
  • If you just want to mold files, run combine_source.pl on each h/cpp.

See Synopsis chapter for more details.

jucemolder's People

Contributors

jiandingzhe avatar

Stargazers

 avatar

Watchers

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