hbcxx uses the Unix hashbang (or shebang) #!/path/to/interpreter technique to make C++ source code directly executable.

Modern C++, meaning C++11 or even C++14, feels like another language. This is not because the language has been changed massively but because the new
features encourage a different, and slightly higher level way to think
about writing C++. It's faster, more fun, supports lambdas, has tools to simplify memory management and includes regular expressions in the standard library.

hbcxx is a tool to keep things fast and fun by putting of the moment you have to write a build system and an install script. For simple programs, especially for quick and dirty personal toys, the day you have to write a proper build system may never come.

Instead just copy your C++ source code into $HOME/bin. Try it. It works.

Features

  • Automatically uses ccache to reduce program startup times (for build avoidance).
  • Enables -std=c++11 by default.
  • Parses #include directives to automatically discover and compile other source code files.
  • Recognises the inclusion of boost header files and, where needed, automatically links the relevant boost library.
  • pkg-config integration.
  • Direct access to underlying compiler flags (-O3, -fsanitize=address, - g).
  • Honours the CXX environemnt variable to ensure clean integration with tools such as clang-analyzer's scan-build.

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

GNU General Public License version 3.0 (GPLv3)

Follow hbcxx

hbcxx Web Site

Other Useful Business Software
Crowdtesting That Delivers | Testeum Icon
Crowdtesting That Delivers | Testeum

Unfixed bugs delaying your launch? Test with real users globally – check it out for free, results in days.

Testeum connects your software, app, or website to a worldwide network of testers, delivering detailed feedback in under 48 hours. Ensure functionality and refine UX on real devices, all at a fraction of traditional costs. Trusted by startups and enterprises alike, our platform streamlines quality assurance with actionable insights. Click to perfect your product now.
Click to perfect your product now.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of hbcxx!

Additional Project Details

Operating Systems

BSD, Linux

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Build Tools

Registered

2014-01-03