Skip to content

Instantly share code, notes, and snippets.

View mariocjun's full-sized avatar
🏠
Working from home

Mario Cordeiro Jr mariocjun

🏠
Working from home
View GitHub Profile
@rokups
rokups / CMakeLists.txt
Last active April 7, 2026 21:17
Dear ImGui CMake build script.
#
# CMake build system for Dear ImGui
# =================================
#
# Build instructions:
# 1. Install latest CMake
# * Windows: https://cmake.org/download/ (Tick checkbox to place cmake in system PATH)
# * Linux: from your favorite package manager
# * MacOS: brew install cmake
# 2. Open command prompt in directory containing "imgui" and "imgui_dev" folders
@eduardoaugustojulio
eduardoaugustojulio / CMakeLists.txt
Created August 18, 2017 20:46
gnu-plot example with cmake build
cmake_minimum_required(VERSION 2.8)
project(gnu-plot CXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(Boost 1.40.0 COMPONENTS filesystem system iostreams REQUIRED)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/externals/gnuplot-iostream")
file(GLOB SRCS src/*.cpp)
add_executable(${PROJECT_NAME} ${SRCS})