Skip to content

Instantly share code, notes, and snippets.

@tcbrindle
tcbrindle / CMakeLists.txt
Created November 26, 2024 19:59 — forked from scivision/CMakeLists.txt
Xcode 16 Homebrew GCC 14.2 breaks with CMake
cmake_minimum_required(VERSION 3.20)
project(min LANGUAGES CXX)
message(STATUS "CMAKE_OSX_SYSROOT ${CMAKE_OSX_SYSROOT}")
foreach(i IN ITEMS OS_NAME OS_VERSION OS_RELEASE OS_PLATFORM)
cmake_host_system_information(RESULT ${i} QUERY ${i})
message(STATUS "${i}: ${${i}}")
endforeach()
#include <chrono>
#include <cstring>
#include <string>
#include <fstream>
#include <istream>
#include <iostream>
#include <sstream>
#include <boost/tokenizer.hpp>