summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-prog/CMakeLists.txt')
-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}
+)