ebloom / rebar.config

{port_sources, ["c_src/*.cpp"]}.
{so_name, "ebloom_nifs.so"}.

{port_envs, [
             %% Make sure to link -lstdc++ on linux or solaris
             {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},

             %% OS X Leopard flags for 64-bit
             {"darwin9.*-64$", "CXXFLAGS", "-m64"},
             {"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},

             %% OS X Snow Leopard flags for 32-bit
             {"darwin10.*-32$", "CXXFLAGS", "-m32"},
             {"darwin10.*-32$", "LDFLAGS", "-arch i386"}
             ]}.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.