C++: make repl
I recently started adding a repl:
rule to all my makefiles and it has changed the way I program.
I'm using cling to do it.
Here's how I compiled it on osx (it takes a while)
init_repl.cpp
#include <something>
#include <something_else>
Makefile
repl:
cling -std=c++11 -linit_repl.cpp -llibfoo.so
Then it's just a matter of running make repl
Written by ilia choly
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cpp
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#