mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-04 05:50:37 -07:00
* src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories() * src/*/CMakeLists.txt: removes duplicate sources from lisbslic3r_sources and SLIC3R_GUI_SOURCES" * .gititnore: adds CMakeLists.txt.user and CMakeLists.txt.autosave * deps_src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories() * removes #pragma once from .cpp file
29 lines
516 B
CMake
29 lines
516 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(imgui)
|
|
|
|
add_library(imgui STATIC
|
|
imconfig.h
|
|
imgui.cpp
|
|
imgui.h
|
|
imgui_demo.cpp
|
|
imgui_draw.cpp
|
|
imgui_internal.h
|
|
imgui_stdlib.cpp
|
|
imgui_stdlib.h
|
|
imgui_tables.cpp
|
|
imgui_widgets.cpp
|
|
# imgui STB
|
|
imstb_rectpack.h
|
|
imstb_textedit.h
|
|
imstb_truetype.h
|
|
)
|
|
|
|
target_include_directories(imgui SYSTEM
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
if(Boost_FOUND)
|
|
target_link_libraries(imgui PRIVATE boost_headeronly)
|
|
endif()
|