refactor font.c into an MwFL section #9
1 changed files with 160 additions and 160 deletions
undo cmake formatting, also remove some reundant/non-existent files
commit
f59c8ce414
|
|
@ -23,7 +23,7 @@ option(MW_INSTALL_HEADERS "Install headers" ON)
|
||||||
file(
|
file(
|
||||||
GLOB
|
GLOB
|
||||||
SOURCES
|
SOURCES
|
||||||
src/*.c src/cursor/*.c src/icon/*.c src/text.c src/widget/*.c src/math/*.c src/text/*.c src/text/font/*.c src/dialog/*.c src/abstract/*.c external/*.c
|
src/*.c src/cursor/*.c src/icon/*.c src/widget/*.c src/text/*.c src/text/font/*.c src/dialog/*.c src/abstract/*.c external/*.c
|
||||||
)
|
)
|
||||||
|
|
||||||
list(REMOVE_ITEM SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/widget/opengl.c")
|
list(REMOVE_ITEM SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/widget/opengl.c")
|
||||||
|
|
@ -65,20 +65,20 @@ if(MW_TRY_VULKAN)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MW_BUILD_STATIC)
|
if(MW_BUILD_STATIC)
|
||||||
message(STATUS "Building Milsko as a static library")
|
message(STATUS "Building Milsko as a static library")
|
||||||
add_library(
|
add_library(
|
||||||
Mw
|
Mw
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
)
|
)
|
||||||
elseif(MW_BUILD_SHARED)
|
elseif(MW_BUILD_SHARED)
|
||||||
message(STATUS "Building Milsko as a shared library")
|
message(STATUS "Building Milsko as a shared library")
|
||||||
add_library(
|
add_library(
|
||||||
Mw
|
Mw
|
||||||
SHARED
|
SHARED
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
message(ERROR "Must either build a shared library or a static library")
|
message(ERROR "Must either build a shared library or a static library")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MW_USE_STB_IMAGE)
|
if(MW_USE_STB_IMAGE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue