summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog
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/piklab-prog
parentee905d21f182005df07129483be48f35292856fe (diff)
downloadpiklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.tar.gz
piklab-199d48de5c43ab5da32fdfe2006f9d89bd4b6d17.zip
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/piklab-prog')
-rw-r--r--src/piklab-prog/CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/piklab-prog/CMakeLists.txt b/src/piklab-prog/CMakeLists.txt
new file mode 100644
index 0000000..35f8961
--- /dev/null
+++ b/src/piklab-prog/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${READLINE_INCLUDE_DIRS}
+ ${LIBUSB_INCLUDE_DIRS}
+)
+
+##### piklab-prog (executable)
+
+tde_add_executable( piklab-prog AUTOMOC
+ SOURCES cmdline.cpp cli_prog_manager.cpp cli_debug_manager.cpp cli_interactive.cpp
+ LINK
+ proglistnoui-static picdembootloader-static pickit2bootloader-static tblbootloader-static
+ bootloader-static gpsim-static psp-static pickit1-static pickit2v2-static pickit2-static
+ icd1-static icd2-static icd2data-static directprog-static mem24prog-static picprog-static
+ progmanager-static progbase-static coff-static port-static cli-static global-static
+ devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static
+ mem24xml-static devicebase-static common-static ${READLINE_LIBRARIES} ${LIBUSB_LIBRARIES}
+ tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)