diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-05-06 18:40:06 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-14 20:15:18 +0200 |
commit | 450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 (patch) | |
tree | c124a612ef259b764855af5e33c39e0d09ad4df2 /Libraries/LibThread | |
parent | 49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff) | |
download | serenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip |
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Libraries/LibThread')
-rw-r--r-- | Libraries/LibThread/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Libraries/LibThread/Makefile | 12 |
2 files changed, 7 insertions, 12 deletions
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 |