mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +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
4
DevTools/CMakeLists.txt
Normal file
4
DevTools/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
add_subdirectory(HackStudio)
|
||||
add_subdirectory(Inspector)
|
||||
add_subdirectory(ProfileViewer)
|
||||
add_subdirectory(VisualBuilder)
|
6
DevTools/FormCompiler/CMakeLists.txt
Normal file
6
DevTools/FormCompiler/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(FormCompiler ${SOURCES})
|
||||
target_link_libraries(FormCompiler LagomCore)
|
|
@ -1,26 +0,0 @@
|
|||
USE_HOST_CXX = 1
|
||||
|
||||
PROGRAM = FormCompiler
|
||||
|
||||
OBJS = \
|
||||
main.o \
|
||||
../../AK/FlyString.o \
|
||||
../../AK/JsonParser.o \
|
||||
../../AK/JsonValue.o \
|
||||
../../AK/LogStream.o \
|
||||
../../AK/String.o \
|
||||
../../AK/StringBuilder.o \
|
||||
../../AK/StringImpl.o \
|
||||
../../AK/StringUtils.o \
|
||||
../../AK/StringView.o \
|
||||
../../Libraries/LibCore/IODevice.o \
|
||||
../../Libraries/LibCore/File.o \
|
||||
../../Libraries/LibCore/Object.o \
|
||||
../../Libraries/LibCore/Event.o \
|
||||
../../Libraries/LibCore/Socket.o \
|
||||
../../Libraries/LibCore/LocalSocket.o \
|
||||
../../Libraries/LibCore/LocalServer.o \
|
||||
../../Libraries/LibCore/Notifier.o \
|
||||
../../Libraries/LibCore/EventLoop.o
|
||||
|
||||
include ../../Makefile.common
|
24
DevTools/HackStudio/CMakeLists.txt
Normal file
24
DevTools/HackStudio/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
set(SOURCES
|
||||
CursorTool.cpp
|
||||
Debugger/BacktraceModel.cpp
|
||||
Debugger/Debugger.cpp
|
||||
Debugger/DebugInfoWidget.cpp
|
||||
Debugger/VariablesModel.cpp
|
||||
Editor.cpp
|
||||
EditorWrapper.cpp
|
||||
FindInFilesWidget.cpp
|
||||
FormEditorWidget.cpp
|
||||
FormWidget.cpp
|
||||
Locator.cpp
|
||||
main.cpp
|
||||
ProcessStateWidget.cpp
|
||||
Project.cpp
|
||||
ProjectFile.cpp
|
||||
TerminalWrapper.cpp
|
||||
Tool.cpp
|
||||
WidgetTool.cpp
|
||||
WidgetTreeModel.cpp
|
||||
)
|
||||
|
||||
serenity_bin(HackStudio)
|
||||
target_link_libraries(HackStudio LibWeb LibMarkdown LibGUI LibGfx LibCore LibVT LibDebug)
|
|
@ -1,26 +0,0 @@
|
|||
OBJS = \
|
||||
Project.o \
|
||||
ProjectFile.o \
|
||||
TerminalWrapper.o \
|
||||
FindInFilesWidget.o \
|
||||
ProcessStateWidget.o \
|
||||
FormEditorWidget.o \
|
||||
FormWidget.o \
|
||||
Editor.o \
|
||||
EditorWrapper.o \
|
||||
Locator.o \
|
||||
Tool.o \
|
||||
CursorTool.o \
|
||||
WidgetTool.o \
|
||||
WidgetTreeModel.o \
|
||||
main.o \
|
||||
Debugger/DebugInfoWidget.o \
|
||||
Debugger/Debugger.o \
|
||||
Debugger/VariablesModel.o \
|
||||
Debugger/BacktraceModel.o
|
||||
|
||||
PROGRAM = HackStudio
|
||||
|
||||
LIB_DEPS = GUI Web TextCodec VT Desktop Protocol Markdown Gfx IPC Thread Pthread Core JS Debug
|
||||
|
||||
include ../../Makefile.common
|
6
DevTools/IPCCompiler/CMakeLists.txt
Normal file
6
DevTools/IPCCompiler/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(IPCCompiler ${SOURCES})
|
||||
target_link_libraries(IPCCompiler LagomCore)
|
|
@ -1,26 +0,0 @@
|
|||
USE_HOST_CXX = 1
|
||||
|
||||
PROGRAM = IPCCompiler
|
||||
|
||||
OBJS = \
|
||||
main.o \
|
||||
../../AK/FlyString.o \
|
||||
../../AK/JsonParser.o \
|
||||
../../AK/JsonValue.o \
|
||||
../../AK/LogStream.o \
|
||||
../../AK/String.o \
|
||||
../../AK/StringBuilder.o \
|
||||
../../AK/StringImpl.o \
|
||||
../../AK/StringUtils.o \
|
||||
../../AK/StringView.o \
|
||||
../../Libraries/LibCore/IODevice.o \
|
||||
../../Libraries/LibCore/File.o \
|
||||
../../Libraries/LibCore/Object.o \
|
||||
../../Libraries/LibCore/Event.o \
|
||||
../../Libraries/LibCore/Socket.o \
|
||||
../../Libraries/LibCore/LocalSocket.o \
|
||||
../../Libraries/LibCore/Notifier.o \
|
||||
../../Libraries/LibCore/LocalServer.o \
|
||||
../../Libraries/LibCore/EventLoop.o
|
||||
|
||||
include ../../Makefile.common
|
10
DevTools/Inspector/CMakeLists.txt
Normal file
10
DevTools/Inspector/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
RemoteObject.cpp
|
||||
RemoteObjectGraphModel.cpp
|
||||
RemoteObjectPropertyModel.cpp
|
||||
RemoteProcess.cpp
|
||||
)
|
||||
|
||||
serenity_bin(Inspector)
|
||||
target_link_libraries(Inspector LibGUI)
|
|
@ -1,12 +0,0 @@
|
|||
OBJS = \
|
||||
RemoteObjectGraphModel.o \
|
||||
RemoteObjectPropertyModel.o \
|
||||
RemoteProcess.o \
|
||||
RemoteObject.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = Inspector
|
||||
|
||||
LIB_DEPS = GUI Gfx IPC Core
|
||||
|
||||
include ../../Makefile.common
|
|
@ -1,3 +0,0 @@
|
|||
SUBDIRS := $(patsubst %/Makefile,%/,$(wildcard */Makefile))
|
||||
|
||||
include ../Makefile.subdir
|
10
DevTools/ProfileViewer/CMakeLists.txt
Normal file
10
DevTools/ProfileViewer/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
set(SOURCES
|
||||
DisassemblyModel.cpp
|
||||
main.cpp
|
||||
Profile.cpp
|
||||
ProfileModel.cpp
|
||||
ProfileTimelineWidget.cpp
|
||||
)
|
||||
|
||||
serenity_bin(ProfileViewer)
|
||||
target_link_libraries(ProfileViewer LibGUI LibX86)
|
|
@ -1,12 +0,0 @@
|
|||
OBJS = \
|
||||
DisassemblyModel.o \
|
||||
Profile.o \
|
||||
ProfileModel.o \
|
||||
ProfileTimelineWidget.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = ProfileViewer
|
||||
|
||||
LIB_DEPS = GUI Gfx IPC Core X86
|
||||
|
||||
include ../../Makefile.common
|
12
DevTools/VisualBuilder/CMakeLists.txt
Normal file
12
DevTools/VisualBuilder/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
VBForm.cpp
|
||||
VBPropertiesWindow.cpp
|
||||
VBProperty.cpp
|
||||
VBWidget.cpp
|
||||
VBWidgetPropertyModel.cpp
|
||||
VBWidgetRegistry.cpp
|
||||
)
|
||||
|
||||
serenity_bin(VisualBuilder)
|
||||
target_link_libraries(VisualBuilder LibGUI)
|
|
@ -1,14 +0,0 @@
|
|||
OBJS = \
|
||||
VBForm.o \
|
||||
VBWidget.o \
|
||||
VBWidgetRegistry.o \
|
||||
VBWidgetPropertyModel.o \
|
||||
VBProperty.o \
|
||||
VBPropertiesWindow.o \
|
||||
main.o
|
||||
|
||||
PROGRAM = VisualBuilder
|
||||
|
||||
LIB_DEPS = GUI Gfx IPC Core
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue