summaryrefslogtreecommitdiffstats
path: root/src/tools/sdcc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-07 18:59:54 +0900
committerMichele Calgaro <[email protected]>2024-05-10 10:12:21 +0900
commit199d48de5c43ab5da32fdfe2006f9d89bd4b6d17 (patch)
treeaad515de6f834996717e6081de9345e691208164 /src/tools/sdcc
parentee905d21f182005df07129483be48f35292856fe (diff)
downloadpiklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz
piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/sdcc')
-rw-r--r--src/tools/sdcc/CMakeLists.txt15
-rw-r--r--src/tools/sdcc/gui/CMakeLists.txt9
2 files changed, 24 insertions, 0 deletions
diff --git a/src/tools/sdcc/CMakeLists.txt b/src/tools/sdcc/CMakeLists.txt
new file mode 100644
index 0000000..c79c037
--- /dev/null
+++ b/src/tools/sdcc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libsdcc (static)
+
+tde_add_library( sdcc STATIC_PIC AUTOMOC
+ SOURCES sdcc_compile.cpp sdcc_config.cpp sdcc.cpp sdcc_generator.cpp
+)
diff --git a/src/tools/sdcc/gui/CMakeLists.txt b/src/tools/sdcc/gui/CMakeLists.txt
new file mode 100644
index 0000000..d7ca469
--- /dev/null
+++ b/src/tools/sdcc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libsdccui (static)
+
+tde_add_library( sdccui STATIC_PIC AUTOMOC
+ SOURCES sdcc_ui.cpp
+)