mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-26 04:13:15 +08:00

* 1. Remove all global include_directories. * 2. Move 3d party dependencies from src to budled deps if possible. * Unify and enforce one way of including headers: e.g. #include "libslic3r/GCode.hpp" vs #include "GCode.hpp" (always use the "libslic3r/GCode.hpp" option). * Make all dependencies (also header only) a cmake target.
22 lines
466 B
CMake
22 lines
466 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project(imgui)
|
|
|
|
add_library(imgui STATIC
|
|
imgui/imconfig.h
|
|
imgui/imgui.cpp
|
|
imgui/imgui.h
|
|
imgui/imgui_demo.cpp
|
|
imgui/imgui_draw.cpp
|
|
imgui/imgui_internal.h
|
|
imgui/imgui_stdlib.cpp
|
|
imgui/imgui_stdlib.h
|
|
imgui/imgui_tables.cpp
|
|
imgui/imgui_widgets.cpp
|
|
# imgui STB
|
|
imgui/imstb_rectpack.h
|
|
imgui/imstb_textedit.h
|
|
imgui/imstb_truetype.h
|
|
)
|
|
|
|
target_include_directories(imgui PUBLIC .)
|