Skip to content

Instantly share code, notes, and snippets.

View alexst07's full-sized avatar
🎯
Focusing

Alex Torres alexst07

🎯
Focusing
View GitHub Profile
@alexst07
alexst07 / CMakeLists.txt
Last active August 25, 2024 18:42
Parser C++ declarations
cmake_minimum_required(VERSION 3.10)
project(ClangFunctionParser)
find_package(Clang REQUIRED CONFIG)
add_executable(function_parser main.cpp)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
@alexst07
alexst07 / build_protobuf_android.sh
Last active August 29, 2015 14:12 — forked from helayzhang/build_protobuf_android.sh
Fix link problems with gnustl
PREFIX=`pwd`/protobuf/android
rm -rf ${PREFIX}
mkdir ${PREFIX}
export NDK=YOUR_NDK_ROOT
# 1. Use the tools from the Standalone Toolchain
export PATH=YOUR_NDK_STAND_ALONE_TOOL_PATH/bin:$PATH
export SYSROOT=YOUR_NDK_STAND_ALONE_TOOL_PATH/sysroot