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/LibPCIDB | |
parent | 49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff) | |
download | serenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip |
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Libraries/LibPCIDB')
-rw-r--r-- | Libraries/LibPCIDB/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Libraries/LibPCIDB/Makefile | 11 |
2 files changed, 6 insertions, 11 deletions
diff --git a/Libraries/LibPCIDB/CMakeLists.txt b/Libraries/LibPCIDB/CMakeLists.txt new file mode 100644 index 0000000000..07dd0a2f08 --- /dev/null +++ b/Libraries/LibPCIDB/CMakeLists.txt @@ -0,0 +1,6 @@ +set(SOURCES + Database.cpp +) + +serenity_lib(LibPCIDB pcidb) +target_link_libraries(LibPCIDB LibC) diff --git a/Libraries/LibPCIDB/Makefile b/Libraries/LibPCIDB/Makefile deleted file mode 100644 index 9f8c27f86b..0000000000 --- a/Libraries/LibPCIDB/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -OBJS = \ - Database.o - -LIBRARY = libpcidb.a - -install: - mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibPCIDB/ - cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibPCIDB/ - cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/ - -include ../../Makefile.common |