parent
ee905d21f1
commit
199d48de5c
@ -0,0 +1,83 @@
|
||||
############################################
|
||||
# #
|
||||
# Improvements and feedbacks are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
############################################
|
||||
|
||||
|
||||
##### set project version ########################
|
||||
|
||||
include( TDEVersion )
|
||||
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
|
||||
tde_set_project_version( )
|
||||
|
||||
|
||||
#### general package setup
|
||||
|
||||
project( piklab )
|
||||
|
||||
|
||||
#### include essential cmake modules
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
|
||||
|
||||
#### include our cmake modules
|
||||
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### setup install paths
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
|
||||
##### optional stuff
|
||||
|
||||
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
||||
|
||||
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### user requested modules
|
||||
|
||||
option( BUILD_ALL "Build all" ON )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||
|
||||
|
||||
##### configure checks
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
|
||||
###### global compiler settings
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### directories
|
||||
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( src )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
|
||||
|
||||
|
||||
##### write configure files
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,108 @@
|
||||
###########################################
|
||||
# #
|
||||
# Improvements and feedback are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
###########################################
|
||||
|
||||
|
||||
# required stuff
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
||||
|
||||
tde_setup_architecture_flags( )
|
||||
|
||||
include(TestBigEndian)
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
|
||||
tde_setup_largefiles( )
|
||||
|
||||
|
||||
##### check for gcc visibility support
|
||||
|
||||
if( WITH_GCC_VISIBILITY )
|
||||
tde_setup_gcc_visibility( )
|
||||
endif( WITH_GCC_VISIBILITY )
|
||||
|
||||
|
||||
##### check for libusb
|
||||
|
||||
pkg_search_module( LIBUSB libusb )
|
||||
if( NOT LIBUSB_FOUND )
|
||||
tde_message_fatal( "libusb is required but was not found on your system" )
|
||||
endif( NOT LIBUSB_FOUND )
|
||||
set( HAVE_USB 1 )
|
||||
|
||||
|
||||
##### check for parport header
|
||||
|
||||
message( STATUS "Performing parport support test" )
|
||||
check_c_source_compiles( "
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/ppdev.h>
|
||||
int main() {
|
||||
ioctl(1,PPCLAIM,0);
|
||||
return 0;
|
||||
}"
|
||||
HAVE_PPDEV
|
||||
)
|
||||
|
||||
|
||||
##### check for ppbus header
|
||||
|
||||
message( STATUS "Performing ppbus header test" )
|
||||
check_c_source_compiles( "
|
||||
#include <sys/ioctl.h>
|
||||
#include <dev/ppbus/ppi.h>
|
||||
int main() {
|
||||
ioctl(1,PPIGCTRL,0);
|
||||
return 0;
|
||||
}"
|
||||
HAVE_PPBUS
|
||||
)
|
||||
|
||||
|
||||
##### check for readline
|
||||
|
||||
pkg_search_module( READLINE readline )
|
||||
if( NOT READLINE_FOUND )
|
||||
find_path( READLINE_INCLUDE_DIR
|
||||
NAMES "readline/readline.h" "readline/history.h"
|
||||
HINTS "/usr/include" "/usr/local/include"
|
||||
DOC "Looking for readline header's path"
|
||||
)
|
||||
find_library( READLINE_LIBRARY
|
||||
NAMES readline history
|
||||
DOC "Looking for readline libraries"
|
||||
)
|
||||
if( ( READLINE_INCLUDE_DIR ) AND ( READLINE_LIBRARY ) )
|
||||
set( READLINE_LIBRARIES ${READLINE_LIBRARY} )
|
||||
set( READLINE_INCLUDE_DIRS ${READLINE_INCLUDE_DIR} )
|
||||
else()
|
||||
tde_message_fatal( "readline is required but was not found on your system" )
|
||||
endif()
|
||||
endif( NOT READLINE_FOUND )
|
||||
set( HAVE_READLINE 1 )
|
||||
|
||||
##### check for curses if required
|
||||
|
||||
tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${READLINE_INCLUDE_DIRS} )
|
||||
tde_save_and_set( CMAKE_REQUIRED_LIBRARIES ${READLINE_LIBRARIES} )
|
||||
check_c_source_compiles("
|
||||
#include <readline/readline.h>
|
||||
int main(void)
|
||||
{
|
||||
char *result = readline(\"prompt\");
|
||||
return 0;
|
||||
}"
|
||||
BUILD_READLINE_STANDALONE
|
||||
)
|
||||
if( NOT BUILD_READLINE_STANDALONE )
|
||||
find_package( curses )
|
||||
if( NOT CURSES_FOUND )
|
||||
tde_message_fatal( "(n)curses is required but was not found on your system" )
|
||||
endif()
|
||||
list( APPEND READLINE_LIBRARIES ${CURSES_LIBRARIES} )
|
||||
endif()
|
||||
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
@ -0,0 +1,21 @@
|
||||
#define VERSION "@VERSION@"
|
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||
|
||||
// Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
// significant byte first (like Motorola and SPARC, unlike Intel).
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||
|
||||
// Defined if you have readline install
|
||||
#cmakedefine HAVE_READLINE @HAVE_READLINE@
|
||||
|
||||
// Defined if you have libusb install
|
||||
#cmakedefine HAVE_USB @HAVE_USB@
|
||||
#cmakedefine LIBUSB_VERSION "@LIBUSB_VERSION@"
|
||||
|
||||
// Defined if you have parport header
|
||||
#cmakedefine HAVE_PPDEV @HAVE_PPDEV@
|
||||
|
||||
// Defined if you have ppbus header
|
||||
#cmakedefine HAVE_PPBUS @HAVE_PPBUS@
|
@ -0,0 +1,2 @@
|
||||
add_subdirectory( actions )
|
||||
add_subdirectory( app )
|
@ -0,0 +1 @@
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/piklab/icons )
|
@ -0,0 +1 @@
|
||||
tde_install_icons( DESTINATION ${ICON_INSTALL_DIR} )
|
@ -0,0 +1 @@
|
||||
tde_add_project_translations()
|
@ -0,0 +1,28 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${TDE_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${TDE_LIB_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( common )
|
||||
add_subdirectory( xml_to_data )
|
||||
add_subdirectory( devices )
|
||||
add_subdirectory( piklab-hex )
|
||||
add_subdirectory( coff )
|
||||
add_subdirectory( piklab-coff )
|
||||
add_subdirectory( progs )
|
||||
add_subdirectory( piklab-prog )
|
||||
add_subdirectory( tools )
|
||||
add_subdirectory( data )
|
||||
add_subdirectory( libgui )
|
||||
add_subdirectory( piklab )
|
||||
add_subdirectory( piklab-test )
|
@ -0,0 +1,5 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( xml )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
##### libcoff (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT coff_data.cpp
|
||||
COMMAND xml_coff_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( coff STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
coff.cpp gpdis.cpp gpopcode.cpp disassembler.cpp ${CMAKE_CURRENT_BINARY_DIR}/coff_data.cpp
|
||||
text_coff.cpp cdb_parser.cpp coff_archive.cpp coff_object.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_coff_parser (executable)
|
||||
|
||||
tde_add_executable( xml_coff_parser AUTOMOC
|
||||
SOURCES xml_coff_parser.cpp gpprocessor.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,8 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( cli )
|
||||
add_subdirectory( common )
|
||||
add_subdirectory( global )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( port )
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libcli (static)
|
||||
|
||||
tde_add_library( cli STATIC_PIC AUTOMOC
|
||||
SOURCES cli_purl.cpp cli_pfile.cpp cli_global.cpp cli_log.cpp cli_main.cpp
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libcommon (static)
|
||||
|
||||
tde_add_library( common STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
bitvalue.cpp group.cpp misc.cpp number.cpp purl_base.cpp
|
||||
storage.cpp synchronous.cpp version_data.cpp
|
||||
LINK
|
||||
tdecore-shared
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libglobal (static)
|
||||
|
||||
tde_add_library( global STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
about.cpp generic_config.cpp log.cpp pfile.cpp
|
||||
process.cpp progress_monitor.cpp purl.cpp xml_data_file.cpp
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libcommonui (static)
|
||||
|
||||
tde_add_library( commonui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
config_widget.cpp container.cpp dialog.cpp editlistbox.cpp hexword_gui.cpp list_view.cpp
|
||||
misc_gui.cpp number_gui.cpp pfile_ext.cpp purl_ext.cpp purl_gui.cpp list_container.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libport (static)
|
||||
|
||||
tde_add_library( port STATIC_PIC AUTOMOC
|
||||
SOURCES parallel.cpp port.cpp serial.cpp usb_port.cpp port_base.cpp
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( app_data )
|
||||
|
||||
|
||||
##### syntax_xml_generator (executable)
|
||||
|
||||
tde_add_executable( syntax_xml_generator AUTOMOC
|
||||
SOURCES syntax_xml_generator.cpp
|
||||
LINK ${TQT_LIBRARIES}
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT asm-pic.xml coff-pic.xml
|
||||
COMMAND syntax_xml_generator
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
build_time_xml_files
|
||||
ALL DEPENDS asm-pic.xml coff-pic.xml
|
||||
)
|
||||
|
||||
install(
|
||||
FILES
|
||||
coff-c-pic.xml jal-pic.xml
|
||||
${CMAKE_CURRENT_BINARY_DIR}/asm-pic.xml
|
||||
${CMAKE_CURRENT_BINARY_DIR}/coff-pic.xml
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/katepart/syntax
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
|
||||
##### application data files
|
||||
|
||||
tde_create_translated_desktop(
|
||||
SOURCE piklab.desktop
|
||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
FILES piklabui.rc hexeditorpartui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/piklab
|
||||
)
|
||||
|
||||
tde_create_translated_desktop(
|
||||
SOURCE x-piklab.desktop
|
||||
DESTINATION ${MIME_INSTALL_DIR}/application
|
||||
)
|
@ -0,0 +1,8 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( list )
|
||||
add_subdirectory( mem24 )
|
||||
add_subdirectory( pic )
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libdevicebase (static)
|
||||
|
||||
tde_add_library( devicebase STATIC_PIC AUTOMOC
|
||||
SOURCES generic_device.cpp hex_buffer.cpp generic_memory.cpp register.cpp device_group.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libdeviceui (static)
|
||||
|
||||
tde_add_library( deviceui STATIC_PIC AUTOMOC
|
||||
SOURCES hex_word_editor.cpp memory_editor.cpp register_view.cpp hex_view.cpp device_group_ui.cpp
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
|
||||
##### libdevicelistnoui (static)
|
||||
|
||||
tde_add_library( devicelistnoui STATIC_PIC AUTOMOC
|
||||
SOURCES device_list.cpp device_list_noui.cpp
|
||||
)
|
||||
|
||||
|
||||
##### libdevicelistui (static)
|
||||
|
||||
tde_add_library( devicelistui STATIC_PIC AUTOMOC
|
||||
SOURCES device_list.cpp device_list_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( mem24 )
|
||||
add_subdirectory( prog )
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( xml_data )
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libmem24base (static)
|
||||
|
||||
tde_add_library( mem24base STATIC_PIC AUTOMOC
|
||||
SOURCES mem24.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libmem24ui (static)
|
||||
|
||||
tde_add_library( mem24ui STATIC_PIC AUTOMOC
|
||||
SOURCES mem24_hex_view.cpp mem24_memory_editor.cpp mem24_group_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libmem24 (static)
|
||||
|
||||
tde_add_library( mem24 STATIC_PIC AUTOMOC
|
||||
SOURCES mem24_memory.cpp mem24_group.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libmem24prog (static)
|
||||
|
||||
tde_add_library( mem24prog STATIC_PIC AUTOMOC
|
||||
SOURCES mem24_prog.cpp
|
||||
)
|
@ -0,0 +1,7 @@
|
||||
|
||||
##### mem24_xml_to_data (executable)
|
||||
|
||||
tde_add_executable( mem24_xml_to_data AUTOMOC
|
||||
SOURCES mem24_xml_to_data.cpp
|
||||
LINK mem24base-static xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
|
||||
##### libmem24xml (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT mem24_data.cpp
|
||||
COMMAND mem24_xml_to_data ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( mem24xml STATIC_PIC AUTOMOC
|
||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/mem24_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( pic )
|
||||
add_subdirectory( prog )
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( xml_data )
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpicbase (static)
|
||||
|
||||
tde_add_library( picbase STATIC_PIC AUTOMOC
|
||||
SOURCES pic.cpp pic_config.cpp pic_protection.cpp pic_register.cpp
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpicui (static)
|
||||
|
||||
tde_add_library( picui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pic_config_editor.cpp pic_config_word_editor.cpp pic_hex_view.cpp
|
||||
pic_memory_editor.cpp pic_register_view.cpp pic_group_ui.cpp pic_prog_group_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpic (static)
|
||||
|
||||
tde_add_library( pic STATIC_PIC AUTOMOC
|
||||
SOURCES pic_memory.cpp pic_group.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpicprog (static)
|
||||
|
||||
tde_add_library( picprog STATIC_PIC AUTOMOC
|
||||
SOURCES pic_prog.cpp pic_prog_specific.cpp pic_debug.cpp
|
||||
)
|
@ -0,0 +1,7 @@
|
||||
|
||||
##### pic_xml_to_data (executable)
|
||||
|
||||
tde_add_executable( pic_xml_to_data AUTOMOC
|
||||
SOURCES pic_xml_to_data.cpp
|
||||
LINK picbase-static xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
|
||||
##### libpicxml (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT pic_data.cpp
|
||||
COMMAND pic_xml_to_data ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( picxml STATIC_PIC AUTOMOC
|
||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/pic_data.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libgui (static)
|
||||
|
||||
tde_add_library( gui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
editor.cpp device_gui.cpp toplevel.cpp object_view.cpp
|
||||
config_gen.cpp register_view.cpp device_editor.cpp watch_view.cpp project.cpp
|
||||
project_editor.cpp project_manager.cpp hex_editor.cpp global_config.cpp config_center.cpp
|
||||
editor_manager.cpp new_dialogs.cpp text_editor.cpp log_view.cpp gui_prog_manager.cpp
|
||||
gui_debug_manager.cpp breakpoint_view.cpp likeback.cpp main_global.cpp console.cpp
|
||||
project_wizard.cpp toplevel_ui.cpp project_manager_ui.cpp
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### piklab-coff (executable)
|
||||
|
||||
tde_add_executable( piklab-coff AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK
|
||||
cli-static coff-static global-static devicelistnoui-static pic-static picbase-static picxml-static
|
||||
mem24-static mem24base-static mem24xml-static devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### piklab-hex (executable)
|
||||
|
||||
tde_add_executable( piklab-hex AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK
|
||||
cli-static global-static devicelistnoui-static pic-static picbase-static picxml-static
|
||||
mem24-static mem24base-static mem24xml-static devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -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}
|
||||
)
|
@ -0,0 +1,8 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( checksum )
|
||||
add_subdirectory( generators )
|
||||
add_subdirectory( misc )
|
||||
add_subdirectory( save_load_memory )
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libtest (static)
|
||||
|
||||
tde_add_library( test STATIC_PIC AUTOMOC
|
||||
SOURCES main_test.cpp device_test.cpp generator_check.cpp
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
|
||||
##### checksum_check (executable)
|
||||
|
||||
tde_add_check_executable( checksum_check AUTOMOC
|
||||
SOURCES checksum_check.cpp
|
||||
LINK
|
||||
test-static cli-static gputils-static coff-static global-static
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
devicebase-static common-static tdecore-shared tdeio-shared
|
||||
)
|
@ -0,0 +1,33 @@
|
||||
|
||||
##### gputils_config_generator_check (executable)
|
||||
|
||||
tde_add_check_executable( gputils_config_generator_check AUTOMOC
|
||||
SOURCES gputils_config_generator_check.cpp
|
||||
LINK
|
||||
test-static cli-static sdcc-static gputils-static coff-static global-static
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
)
|
||||
|
||||
##### gputils_template_generator_check (executable)
|
||||
|
||||
tde_add_check_executable( gputils_template_generator_check AUTOMOC
|
||||
SOURCES gputils_template_generator_check.cpp
|
||||
LINK
|
||||
test-static cli-static sdcc-static gputils-static coff-static global-static
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
)
|
||||
|
||||
##### sdcc_config_generator_check (executable)
|
||||
|
||||
tde_add_check_executable( sdcc_config_generator_check AUTOMOC
|
||||
SOURCES sdcc_config_generator_check.cpp
|
||||
LINK
|
||||
test-static cli-static sdcc-static gputils-static coff-static global-static
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### misc_check (executable)
|
||||
|
||||
tde_add_check_executable( misc_check AUTOMOC
|
||||
SOURCES misc_check.cpp
|
||||
LINK
|
||||
test-static cli-static global-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
|
||||
##### save_load_memory_check (executable)
|
||||
|
||||
tde_add_check_executable( save_load_memory_check AUTOMOC
|
||||
SOURCES save_load_memory_check.cpp
|
||||
LINK
|
||||
test-static cli-static gputils-static coff-static global-static
|
||||
devicelistnoui-static pic-static picbase-static picxml-static
|
||||
mem24-static mem24base-static mem24xml-static devicebase-static common-static
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
)
|
@ -0,0 +1,30 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${READLINE_INCLUDE_DIRS}
|
||||
${LIBUSB_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
##### piklab (executable)
|
||||
|
||||
tde_add_executable( piklab AUTOMOC
|
||||
SOURCES main.cpp
|
||||
LINK
|
||||
gui-static toollist-static cc5xui-static mpcui-static boostui-static
|
||||
jalv2ui-static ccscui-static c18ui-static jalui-static pic30ui-static
|
||||
piccui-static sdccui-static gputilsui-static custom-static cc5x-static
|
||||
mpc-static boost-static jalv2-static ccsc-static c18-static jal-static
|
||||
pic30-static picc-static sdcc-static gputils-static toolui-static toolbase-static
|
||||
proglistui-static picdembootloaderui-static pickit2bootloaderui-static tblbootloaderui-static
|
||||
bootloaderui-static gpsimui-static pspui-static pickit2v2ui-static pickit2ui-static
|
||||
pickit1ui-static icd1ui-static icd2ui-static directui-static progui-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 global-static
|
||||
devicelistui-static mem24ui-static picui-static deviceui-static commonui-static
|
||||
pic-static picbase-static picxml-static mem24-static mem24base-static
|
||||
mem24xml-static devicebase-static common-static ${LIBUSB_LIBRARIES}
|
||||
tdecore-shared DCOP-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
|
||||
tdeparts-shared tdehtml-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,19 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( direct )
|
||||
add_subdirectory( icd1 )
|
||||
add_subdirectory( icd2 )
|
||||
add_subdirectory( pickit1 )
|
||||
add_subdirectory( pickit2 )
|
||||
add_subdirectory( pickit2v2 )
|
||||
add_subdirectory( psp )
|
||||
add_subdirectory( gpsim )
|
||||
add_subdirectory( bootloader )
|
||||
add_subdirectory( picdem_bootloader )
|
||||
add_subdirectory( tbl_bootloader )
|
||||
add_subdirectory( pickit2_bootloader )
|
||||
add_subdirectory( list )
|
||||
add_subdirectory( manager )
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libprogbase (static)
|
||||
|
||||
tde_add_library( progbase STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
generic_prog.cpp prog_specific.cpp prog_config.cpp prog_group.cpp
|
||||
generic_debug.cpp hardware_config.cpp debug_config.cpp
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,10 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libbootloader (static)
|
||||
|
||||
tde_add_library( bootloader STATIC_PIC AUTOMOC
|
||||
SOURCES bootloader.cpp bootloader_prog.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libbootloaderui (static)
|
||||
|
||||
tde_add_library( bootloaderui STATIC_PIC AUTOMOC
|
||||
SOURCES bootloader_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,18 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libdirectprog (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT direct_data.cpp
|
||||
COMMAND xml_direct_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( directprog STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
direct_pic.cpp direct_baseline.cpp direct_16.cpp direct_16F.cpp
|
||||
direct_18.cpp direct_18F.cpp direct_prog.cpp direct_prog_config.cpp
|
||||
direct_mem24.cpp direct.cpp ${CMAKE_CURRENT_BINARY_DIR}/direct_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libdirectui (static)
|
||||
|
||||
tde_add_library( directui STATIC_PIC AUTOMOC
|
||||
SOURCES direct_config_widget.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_direct_parser (executable)
|
||||
|
||||
tde_add_executable( xml_direct_parser AUTOMOC
|
||||
SOURCES xml_direct_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libgpsim (static)
|
||||
|
||||
tde_add_library( gpsim STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
gpsim.cpp gpsim_debug.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libgpsimui (static)
|
||||
|
||||
tde_add_library( gpsimui STATIC_PIC AUTOMOC
|
||||
SOURCES gpsim_group_ui.cpp
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libprogui (static)
|
||||
|
||||
tde_add_library( progui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
prog_config_widget.cpp prog_group_ui.cpp hardware_config_widget.cpp
|
||||
prog_config_center.cpp port_selector.cpp debug_config_center.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libicd1 (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT icd1_data.cpp
|
||||
COMMAND xml_icd1_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( icd1 STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
icd1.cpp icd1_prog.cpp icd1_serial.cpp ${CMAKE_CURRENT_BINARY_DIR}/icd1_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libicd1ui (static)
|
||||
|
||||
tde_add_library( icd1ui STATIC_PIC AUTOMOC
|
||||
SOURCES icd1_group_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_icd1_parser (executable)
|
||||
|
||||
tde_add_executable( xml_icd1_parser AUTOMOC
|
||||
SOURCES xml_icd1_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,7 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( icd2_data )
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,18 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libicd2 (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT icd2_data.cpp
|
||||
COMMAND xml_icd2_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( icd2 STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
microchip.cpp icd2.cpp icd2_prog.cpp icd2_serial.cpp icd2_usb.cpp icd2_usb_firmware.cpp
|
||||
icd2_debug.cpp icd.cpp icd_prog.cpp icd2_debug_specific.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/icd2_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libicd2ui (static)
|
||||
|
||||
tde_add_library( icd2ui STATIC_PIC AUTOMOC
|
||||
SOURCES icd2_group_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libicd2data (static)
|
||||
|
||||
tde_add_library( icd2data STATIC_PIC AUTOMOC
|
||||
SOURCES icd2_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_icd2_parser (executable)
|
||||
|
||||
tde_add_executable( xml_icd2_parser AUTOMOC
|
||||
SOURCES xml_icd2_parser.cpp
|
||||
LINK
|
||||
icd2data-static devicelistnoui-static pic-static picbase-static picxml-static mem24-static
|
||||
mem24base-static mem24xml-static xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
|
||||
##### libproglistnoui (static)
|
||||
|
||||
tde_add_library( proglistnoui STATIC_PIC AUTOMOC
|
||||
SOURCES prog_list.cpp prog_list_noui.cpp
|
||||
)
|
||||
|
||||
|
||||
##### libproglistui (static)
|
||||
|
||||
tde_add_library( proglistui STATIC_PIC AUTOMOC
|
||||
SOURCES prog_list.cpp prog_list_ui.cpp
|
||||
)
|
@ -0,0 +1,10 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libprogmanager (static)
|
||||
|
||||
tde_add_library( progmanager STATIC_PIC AUTOMOC
|
||||
SOURCES breakpoint.cpp debug_manager.cpp prog_manager.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpicdembootloader (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT picdem_bootloader_data.cpp
|
||||
COMMAND xml_picdem_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( picdembootloader STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
picdem_bootloader.cpp picdem_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/picdem_bootloader_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpicdembootloaderui (static)
|
||||
|
||||
tde_add_library( picdembootloaderui STATIC_PIC AUTOMOC
|
||||
SOURCES picdem_bootloader_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_picdem_bootloader_parser (executable)
|
||||
|
||||
tde_add_executable( xml_picdem_bootloader_parser AUTOMOC
|
||||
SOURCES xml_picdem_bootloader_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit1 (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT pickit1_data.cpp
|
||||
COMMAND xml_pickit1_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( pickit1 STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pickit1.cpp pickit1_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit1_data.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpickit1ui (static)
|
||||
|
||||
tde_add_library( pickit1ui STATIC_PIC AUTOMOC
|
||||
SOURCES pickit1_group_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_pickit1_parser (executable)
|
||||
|
||||
tde_add_executable( xml_pickit1_parser AUTOMOC
|
||||
SOURCES xml_pickit1_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit2 (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT pickit2_data.cpp
|
||||
COMMAND xml_pickit2_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( pickit2 STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pickit.cpp pickit_prog.cpp pickit2.cpp pickit2_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit2ui (static)
|
||||
|
||||
tde_add_library( pickit2ui STATIC_PIC AUTOMOC
|
||||
SOURCES pickit2_group_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_pickit2_parser (executable)
|
||||
|
||||
tde_add_executable( xml_pickit2_parser AUTOMOC
|
||||
SOURCES xml_pickit2_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit2bootloader (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT pickit2_bootloader_data.cpp
|
||||
COMMAND xml_pickit2_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( pickit2bootloader STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pickit2_bootloader.cpp pickit2_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/pickit2_bootloader_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit2bootloaderui (static)
|
||||
|
||||
tde_add_library( pickit2bootloaderui STATIC_PIC AUTOMOC
|
||||
SOURCES pickit2_bootloader_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_pickit2_bootloader_parser (executable)
|
||||
|
||||
tde_add_executable( xml_pickit2_bootloader_parser AUTOMOC
|
||||
SOURCES xml_pickit2_bootloader_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpickit2v2 (static)
|
||||
|
||||
tde_add_library( pickit2v2 STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pickit2v2.cpp pickit2v2_prog.cpp pickit2v2_data.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpickit2v2ui (static)
|
||||
|
||||
tde_add_library( pickit2v2ui STATIC_PIC AUTOMOC
|
||||
SOURCES pickit2v2_group_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpsp (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT psp_data.cpp
|
||||
COMMAND xml_psp_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( psp STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
psp.cpp psp_prog.cpp psp_serial.cpp ${CMAKE_CURRENT_BINARY_DIR}/psp_data.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libpspui (static)
|
||||
|
||||
tde_add_library( pspui STATIC_PIC AUTOMOC
|
||||
SOURCES psp_group_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_psp_parser (executable)
|
||||
|
||||
tde_add_executable( xml_psp_parser AUTOMOC
|
||||
SOURCES xml_psp_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( gui )
|
@ -0,0 +1,16 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libtblbootloader (static)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT tbl_bootloader_data.cpp
|
||||
COMMAND xml_tbl_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
tde_add_library( tblbootloader STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
tbl_bootloader.cpp tbl_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/tbl_bootloader_data.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libtblbootloaderui (static)
|
||||
|
||||
tde_add_library( tblbootloaderui STATIC_PIC AUTOMOC
|
||||
SOURCES tbl_bootloader_ui.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
|
||||
##### xml_tbl_bootloader_parser (executable)
|
||||
|
||||
tde_add_executable( xml_tbl_bootloader_parser AUTOMOC
|
||||
SOURCES xml_tbl_bootloader_parser.cpp
|
||||
LINK
|
||||
devicelistnoui-static pic-static picbase-static picxml-static mem24-static mem24base-static mem24xml-static
|
||||
xmltodata-static devicebase-static common-static tdecore-shared
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( base )
|
||||
add_subdirectory( boost )
|
||||
add_subdirectory( c18 )
|
||||
add_subdirectory( cc5x )
|
||||
add_subdirectory( ccsc )
|
||||
add_subdirectory( custom )
|
||||
add_subdirectory( gputils )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( jal )
|
||||
add_subdirectory( jalv2 )
|
||||
add_subdirectory( list )
|
||||
add_subdirectory( mpc )
|
||||
add_subdirectory( pic30 )
|
||||
add_subdirectory( picc )
|
||||
add_subdirectory( sdcc )
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libtoolbase (static)
|
||||
|
||||
tde_add_library( toolbase STATIC_PIC AUTOMOC
|
||||
SOURCES generic_tool.cpp tool_group.cpp
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libboost (static)
|
||||
|
||||
tde_add_library( boost STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
boostc.cpp boostc_compile.cpp boost_config.cpp
|
||||
boost.cpp boostcpp.cpp boostbasic.cpp boost_generator.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libboostui (static)
|
||||
|
||||
tde_add_library( boostui STATIC_PIC AUTOMOC
|
||||
SOURCES boost_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libc18 (static)
|
||||
|
||||
tde_add_library( c18 STATIC_PIC AUTOMOC
|
||||
SOURCES c18_compile.cpp c18_config.cpp c18.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libc18ui (static)
|
||||
|
||||
tde_add_library( c18ui STATIC_PIC AUTOMOC
|
||||
SOURCES c18_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libcc5x (static)
|
||||
|
||||
tde_add_library( cc5x STATIC_PIC AUTOMOC
|
||||
SOURCES cc5x_compile.cpp cc5x_config.cpp cc5x.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libcc5xui (static)
|
||||
|
||||
tde_add_library( cc5xui STATIC_PIC AUTOMOC
|
||||
SOURCES cc5x_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libccsc (static)
|
||||
|
||||
tde_add_library( ccsc STATIC_PIC AUTOMOC
|
||||
SOURCES ccsc_compile.cpp ccsc_config.cpp ccsc.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libccscui (static)
|
||||
|
||||
tde_add_library( ccscui STATIC_PIC AUTOMOC
|
||||
SOURCES ccsc_ui.cpp
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
|
||||
##### libcustom (static)
|
||||
|
||||
tde_add_library( custom STATIC_PIC AUTOMOC
|
||||
SOURCES custom.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libgputils (static)
|
||||
|
||||
tde_add_library( gputils STATIC_PIC AUTOMOC
|
||||
SOURCES gputils_compile.cpp gputils_config.cpp gputils.cpp gputils_generator.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libgputilsui (static)
|
||||
|
||||
tde_add_library( gputilsui STATIC_PIC AUTOMOC
|
||||
SOURCES gputils_ui.cpp
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libtoolui (static)
|
||||
|
||||
tde_add_library( toolui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
tool_group_ui.cpp toolchain_config_widget.cpp
|
||||
tool_config_widget.cpp toolchain_config_center.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libjal (static)
|
||||
|
||||
tde_add_library( jal STATIC_PIC AUTOMOC
|
||||
SOURCES jal_compile.cpp jal_config.cpp jal.cpp jal_generator.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libjalui (static)
|
||||
|
||||
tde_add_library( jalui STATIC_PIC AUTOMOC
|
||||
SOURCES jal_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libjalv2 (static)
|
||||
|
||||
tde_add_library( jalv2 STATIC_PIC AUTOMOC
|
||||
SOURCES jalv2_compile.cpp jalv2_config.cpp jalv2.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libjalv2ui (static)
|
||||
|
||||
tde_add_library( jalv2ui STATIC_PIC AUTOMOC
|
||||
SOURCES jalv2_ui.cpp
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libtoollist (static)
|
||||
|
||||
tde_add_library( toollist STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
tool_list.cpp tools_config_widget.cpp compile_config.cpp
|
||||
device_info.cpp compile_manager.cpp compile_process.cpp
|
||||
)
|
@ -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
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libmpcui (static)
|
||||
|
||||
tde_add_library( mpcui STATIC_PIC AUTOMOC
|
||||
SOURCES mpc_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libpic30 (static)
|
||||
|
||||
tde_add_library( pic30 STATIC_PIC AUTOMOC
|
||||
SOURCES pic30_compile.cpp pic30_config.cpp pic30.cpp pic30_generator.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpic30ui (static)
|
||||
|
||||
tde_add_library( pic30ui STATIC_PIC AUTOMOC
|
||||
SOURCES pic30_ui.cpp
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### subfolders
|
||||
|
||||
add_subdirectory( gui )
|
||||
|
||||
|
||||
##### libpicc (static)
|
||||
|
||||
tde_add_library( picc STATIC_PIC AUTOMOC
|
||||
SOURCES picc_compile.cpp picc_config.cpp picc.cpp
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libpiccui (static)
|
||||
|
||||
tde_add_library( piccui STATIC_PIC AUTOMOC
|
||||
SOURCES picc_ui.cpp
|
||||
)
|
@ -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
|
||||
)
|
@ -0,0 +1,9 @@
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
##### libsdccui (static)
|
||||
|
||||
tde_add_library( sdccui STATIC_PIC AUTOMOC
|
||||
SOURCES sdcc_ui.cpp
|
||||
)
|
@ -0,0 +1,7 @@
|
||||
|
||||
##### libxmltodata (static)
|
||||
|
||||
tde_add_library( xmltodata STATIC_PIC AUTOMOC
|
||||
SOURCES xml_to_data.cpp device_xml_to_data.cpp
|
||||
LINK ${TQT_LIBRARIES}
|
||||
)
|
Loading…
Reference in new issue