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/LibDebug | |
parent | 49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff) | |
download | serenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip |
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Libraries/LibDebug')
-rw-r--r-- | Libraries/LibDebug/CMakeLists.txt | 13 | ||||
-rw-r--r-- | Libraries/LibDebug/Makefile | 19 |
2 files changed, 13 insertions, 19 deletions
diff --git a/Libraries/LibDebug/CMakeLists.txt b/Libraries/LibDebug/CMakeLists.txt new file mode 100644 index 0000000000..ad2f1bfb15 --- /dev/null +++ b/Libraries/LibDebug/CMakeLists.txt @@ -0,0 +1,13 @@ +set(SOURCES + DebugInfo.cpp + DebugSession.cpp + Dwarf/AbbreviationsMap.cpp + Dwarf/CompilationUnit.cpp + Dwarf/DIE.cpp + Dwarf/DwarfInfo.cpp + Dwarf/Expression.cpp + Dwarf/LineProgram.cpp +) + +serenity_lib(LibDebug debug) +target_link_libraries(LibDebug LibC) diff --git a/Libraries/LibDebug/Makefile b/Libraries/LibDebug/Makefile deleted file mode 100644 index e6f37a9d1a..0000000000 --- a/Libraries/LibDebug/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -OBJS = \ - DebugSession.o \ - DebugInfo.o \ - Dwarf/LineProgram.o \ - Dwarf/DwarfInfo.o \ - Dwarf/CompilationUnit.o \ - Dwarf/AbbreviationsMap.o \ - Dwarf/Expression.o \ - Dwarf/DIE.o \ - - -LIBRARY = libdebug.a - -install: - mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibDebug/ - cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibDebug/ - cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/ - -include ../../Makefile.common |