pantry/projects/facebook.com/fb303/test.cpp
Andrew f238471639
+facebook.com/fb303 (#4379)
* new file:   projects/facebook.com/fb303/package.yml
	new file:   projects/facebook.com/fb303/test.cpp

* -fPIC

* cxx flags in cmake args

* lets try more flags

* wip

* wip

* oops

* maybe gcc for linux aarch64

* modified:   projects/facebook.com/fb303/package.yml

* add boost

* looks like it wants a specific version

* 1.84 is loaded

* zlib

* add -fPIC for linux

* boost.org: ^1.84

* fbthrift ver

* fbthrift => runtime dep

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-12-22 10:00:25 -05:00

7 lines
No EOL
214 B
C++

#include "fb303/thrift/gen-cpp2/BaseService.h"
#include <iostream>
int main() {
auto service = facebook::fb303::cpp2::BaseServiceSvIf();
std::cout << service.getGeneratedName() << std::endl;
return 0;
}