mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:17:35 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
11
Libraries/LibMarkdown/CMakeLists.txt
Normal file
11
Libraries/LibMarkdown/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(SOURCES
|
||||
CodeBlock.cpp
|
||||
Document.cpp
|
||||
Heading.cpp
|
||||
List.cpp
|
||||
Paragraph.cpp
|
||||
Text.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibMarkdown markdown)
|
||||
target_link_libraries(LibMarkdown LibC)
|
|
@ -1,16 +0,0 @@
|
|||
OBJS = \
|
||||
Document.o \
|
||||
Paragraph.o \
|
||||
Heading.o \
|
||||
CodeBlock.o \
|
||||
List.o \
|
||||
Text.o
|
||||
|
||||
LIBRARY = libmarkdown.a
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibMarkdown/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibMarkdown/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue