The attached diff adds pkg-config files for Sawzall's three libraries. Once
applied, embedding Sawzall in programs like this one:
//
// test.cc
//
#include <google/szl/porting.h>
#include <google/szl/commandlineflags.h>
#include <google/szl/sawzall.h>
int main(int argc, char **argv) {
InitializeAllModules();
sawzall::Executable exe(argv[1], NULL, sawzall::kNormal);
}
is just a matter of running:
$ g++ $(pkg-config --cflags szl) \
szl-test.cc -o szl-test \
$(pkg-config --libs szl)
Original issue reported on code.google.com by superdup...@gmail.com on 10 Nov 2010 at 8:10
Original issue reported on code.google.com by
superdup...@gmail.com
on 10 Nov 2010 at 8:10Attachments: