From 450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 6 May 2020 18:40:06 +0300 Subject: Build: Switch to CMake :^) Closes https://github.com/SerenityOS/serenity/issues/2080 --- Libraries/LibThread/CMakeLists.txt | 7 +++++++ Libraries/LibThread/Makefile | 12 ------------ 2 files changed, 7 insertions(+), 12 deletions(-) create mode 100644 Libraries/LibThread/CMakeLists.txt delete mode 100644 Libraries/LibThread/Makefile (limited to 'Libraries/LibThread') diff --git a/Libraries/LibThread/CMakeLists.txt b/Libraries/LibThread/CMakeLists.txt new file mode 100644 index 0000000000..6bfce1c060 --- /dev/null +++ b/Libraries/LibThread/CMakeLists.txt @@ -0,0 +1,7 @@ +set(SOURCES + BackgroundAction.cpp + Thread.cpp +) + +serenity_lib(LibThread thread) +target_link_libraries(LibThread LibC LibCore LibPthread) diff --git a/Libraries/LibThread/Makefile b/Libraries/LibThread/Makefile deleted file mode 100644 index 57c2ae93b5..0000000000 --- a/Libraries/LibThread/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -OBJS = \ - Thread.o \ - BackgroundAction.o - -LIBRARY = libthread.a - -install: - mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibThread/ - cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibThread/ - cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/ - -include ../../Makefile.common -- cgit v1.2.3