mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 06:45:59 +08:00
libvgcode - Changes into CMakeLists.txt
This commit is contained in:
parent
04d916a351
commit
0094ec8b09
@ -1,7 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
project(libvgcode)
|
project(libvgcode)
|
||||||
|
|
||||||
add_library(libvgcode STATIC
|
set(LIBVGCODE_SOURCES
|
||||||
# API
|
# API
|
||||||
include/ColorPrint.hpp
|
include/ColorPrint.hpp
|
||||||
include/ColorRange.hpp
|
include/ColorRange.hpp
|
||||||
@ -50,5 +50,13 @@ add_library(libvgcode STATIC
|
|||||||
glad/src/glad.c
|
glad/src/glad.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_library(libvgcode STATIC ${LIBVGCODE_SOURCES})
|
||||||
|
|
||||||
|
foreach(_source IN ITEMS ${LIBVGCODE_SOURCES})
|
||||||
|
get_filename_component(_source_path "${_source}" PATH)
|
||||||
|
string(REPLACE "/" "\\" _group_path "${_source_path}")
|
||||||
|
source_group("${_group_path}" FILES "${_source}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
# glad includes
|
# glad includes
|
||||||
include_directories(glad/include)
|
include_directories(glad/include)
|
Loading…
x
Reference in New Issue
Block a user