Skip to content

Instantly share code, notes, and snippets.

View sbwtw's full-sized avatar
🎮
Focusing

石博文 sbwtw

🎮
Focusing
View GitHub Profile
@kwk
kwk / CMakeLists.txt
Last active April 3, 2021 18:17
Standalone Clang project (outside of LLVM and Clang source tree)
cmake_minimum_required(VERSION 2.8.8)
project(interface_class_printer)
option(BUILD_INTERFACE_CLASS_PRINTER "Build the tool that converts a C++ interface class into a C struct." ON)
mark_as_advanced(BUILD_INTERFACE_CLASS_PRINTER)
if (BUILD_INTERFACE_CLASS_PRINTER)
# Find boost
find_package(Boost COMPONENTS date_time REQUIRED)