summaryrefslogtreecommitdiffstats
path: root/src/tools/mpc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-07 18:59:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-10 10:25:20 +0900
commitdc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 (patch)
tree5774d9f9cb72172ba61ded3344e43577f9baf227 /src/tools/mpc
parentd5d77862d18d9246d246969afc869713877f80fc (diff)
downloadpiklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.tar.gz
piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.zip
CMake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17)
Diffstat (limited to 'src/tools/mpc')
-rw-r--r--src/tools/mpc/CMakeLists.txt15
-rw-r--r--src/tools/mpc/gui/CMakeLists.txt9
2 files changed, 24 insertions, 0 deletions
diff --git a/src/tools/mpc/CMakeLists.txt b/src/tools/mpc/CMakeLists.txt
new file mode 100644
index 0000000..d7b7886
--- /dev/null
+++ b/src/tools/mpc/CMakeLists.txt
@@ -0,0 +1,15 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### subfolders
+
+add_subdirectory( gui )
+
+
+##### libmpc (static)
+
+tde_add_library( mpc STATIC_PIC AUTOMOC
+ SOURCES mpc_compile.cpp mpc_config.cpp mpc.cpp
+)
diff --git a/src/tools/mpc/gui/CMakeLists.txt b/src/tools/mpc/gui/CMakeLists.txt
new file mode 100644
index 0000000..e436f62
--- /dev/null
+++ b/src/tools/mpc/gui/CMakeLists.txt
@@ -0,0 +1,9 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+##### libmpcui (static)
+
+tde_add_library( mpcui STATIC_PIC AUTOMOC
+ SOURCES mpc_ui.cpp
+)