diff options
author | Michele Calgaro <[email protected]> | 2024-05-07 18:59:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-10 10:25:20 +0900 |
commit | dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 (patch) | |
tree | 5774d9f9cb72172ba61ded3344e43577f9baf227 /src/tools | |
parent | d5d77862d18d9246d246969afc869713877f80fc (diff) | |
download | piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.tar.gz piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.zip |
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17)
Diffstat (limited to 'src/tools')
27 files changed, 318 insertions, 0 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt new file mode 100644 index 0000000..b31a000 --- /dev/null +++ b/src/tools/CMakeLists.txt @@ -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 ) diff --git a/src/tools/base/CMakeLists.txt b/src/tools/base/CMakeLists.txt new file mode 100644 index 0000000..7dff935 --- /dev/null +++ b/src/tools/base/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libtoolbase (static) + +tde_add_library( toolbase STATIC_PIC AUTOMOC + SOURCES generic_tool.cpp tool_group.cpp +) diff --git a/src/tools/boost/CMakeLists.txt b/src/tools/boost/CMakeLists.txt new file mode 100644 index 0000000..8841e0b --- /dev/null +++ b/src/tools/boost/CMakeLists.txt @@ -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 +) diff --git a/src/tools/boost/gui/CMakeLists.txt b/src/tools/boost/gui/CMakeLists.txt new file mode 100644 index 0000000..21ea565 --- /dev/null +++ b/src/tools/boost/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libboostui (static) + +tde_add_library( boostui STATIC_PIC AUTOMOC + SOURCES boost_ui.cpp +) diff --git a/src/tools/c18/CMakeLists.txt b/src/tools/c18/CMakeLists.txt new file mode 100644 index 0000000..157052a --- /dev/null +++ b/src/tools/c18/CMakeLists.txt @@ -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 +) diff --git a/src/tools/c18/gui/CMakeLists.txt b/src/tools/c18/gui/CMakeLists.txt new file mode 100644 index 0000000..fb5263c --- /dev/null +++ b/src/tools/c18/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libc18ui (static) + +tde_add_library( c18ui STATIC_PIC AUTOMOC + SOURCES c18_ui.cpp +) diff --git a/src/tools/cc5x/CMakeLists.txt b/src/tools/cc5x/CMakeLists.txt new file mode 100644 index 0000000..320d1e7 --- /dev/null +++ b/src/tools/cc5x/CMakeLists.txt @@ -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 +) diff --git a/src/tools/cc5x/gui/CMakeLists.txt b/src/tools/cc5x/gui/CMakeLists.txt new file mode 100644 index 0000000..4fbaa94 --- /dev/null +++ b/src/tools/cc5x/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libcc5xui (static) + +tde_add_library( cc5xui STATIC_PIC AUTOMOC + SOURCES cc5x_ui.cpp +) diff --git a/src/tools/ccsc/CMakeLists.txt b/src/tools/ccsc/CMakeLists.txt new file mode 100644 index 0000000..f8af711 --- /dev/null +++ b/src/tools/ccsc/CMakeLists.txt @@ -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 +) diff --git a/src/tools/ccsc/gui/CMakeLists.txt b/src/tools/ccsc/gui/CMakeLists.txt new file mode 100644 index 0000000..f8461a5 --- /dev/null +++ b/src/tools/ccsc/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libccscui (static) + +tde_add_library( ccscui STATIC_PIC AUTOMOC + SOURCES ccsc_ui.cpp +) diff --git a/src/tools/custom/CMakeLists.txt b/src/tools/custom/CMakeLists.txt new file mode 100644 index 0000000..1c76e54 --- /dev/null +++ b/src/tools/custom/CMakeLists.txt @@ -0,0 +1,6 @@ + +##### libcustom (static) + +tde_add_library( custom STATIC_PIC AUTOMOC + SOURCES custom.cpp +) diff --git a/src/tools/gputils/CMakeLists.txt b/src/tools/gputils/CMakeLists.txt new file mode 100644 index 0000000..7f76209 --- /dev/null +++ b/src/tools/gputils/CMakeLists.txt @@ -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 +) diff --git a/src/tools/gputils/gui/CMakeLists.txt b/src/tools/gputils/gui/CMakeLists.txt new file mode 100644 index 0000000..9191bb0 --- /dev/null +++ b/src/tools/gputils/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libgputilsui (static) + +tde_add_library( gputilsui STATIC_PIC AUTOMOC + SOURCES gputils_ui.cpp +) diff --git a/src/tools/gui/CMakeLists.txt b/src/tools/gui/CMakeLists.txt new file mode 100644 index 0000000..9a39ff6 --- /dev/null +++ b/src/tools/gui/CMakeLists.txt @@ -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 +) diff --git a/src/tools/jal/CMakeLists.txt b/src/tools/jal/CMakeLists.txt new file mode 100644 index 0000000..91d0413 --- /dev/null +++ b/src/tools/jal/CMakeLists.txt @@ -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 +) diff --git a/src/tools/jal/gui/CMakeLists.txt b/src/tools/jal/gui/CMakeLists.txt new file mode 100644 index 0000000..2b14fdc --- /dev/null +++ b/src/tools/jal/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libjalui (static) + +tde_add_library( jalui STATIC_PIC AUTOMOC + SOURCES jal_ui.cpp +) diff --git a/src/tools/jalv2/CMakeLists.txt b/src/tools/jalv2/CMakeLists.txt new file mode 100644 index 0000000..fdad9bc --- /dev/null +++ b/src/tools/jalv2/CMakeLists.txt @@ -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 +) diff --git a/src/tools/jalv2/gui/CMakeLists.txt b/src/tools/jalv2/gui/CMakeLists.txt new file mode 100644 index 0000000..adac26b --- /dev/null +++ b/src/tools/jalv2/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libjalv2ui (static) + +tde_add_library( jalv2ui STATIC_PIC AUTOMOC + SOURCES jalv2_ui.cpp +) diff --git a/src/tools/list/CMakeLists.txt b/src/tools/list/CMakeLists.txt new file mode 100644 index 0000000..a91e9d8 --- /dev/null +++ b/src/tools/list/CMakeLists.txt @@ -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 +) 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 +) diff --git a/src/tools/pic30/CMakeLists.txt b/src/tools/pic30/CMakeLists.txt new file mode 100644 index 0000000..5ced98d --- /dev/null +++ b/src/tools/pic30/CMakeLists.txt @@ -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 +) diff --git a/src/tools/pic30/gui/CMakeLists.txt b/src/tools/pic30/gui/CMakeLists.txt new file mode 100644 index 0000000..14a55e6 --- /dev/null +++ b/src/tools/pic30/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libpic30ui (static) + +tde_add_library( pic30ui STATIC_PIC AUTOMOC + SOURCES pic30_ui.cpp +) diff --git a/src/tools/picc/CMakeLists.txt b/src/tools/picc/CMakeLists.txt new file mode 100644 index 0000000..fb11979 --- /dev/null +++ b/src/tools/picc/CMakeLists.txt @@ -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 +) diff --git a/src/tools/picc/gui/CMakeLists.txt b/src/tools/picc/gui/CMakeLists.txt new file mode 100644 index 0000000..203c6e5 --- /dev/null +++ b/src/tools/picc/gui/CMakeLists.txt @@ -0,0 +1,9 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +##### libpiccui (static) + +tde_add_library( piccui STATIC_PIC AUTOMOC + SOURCES picc_ui.cpp +) 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 +) |