summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2/base/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-07 18:59:54 +0900
committerMichele Calgaro <[email protected]>2024-05-10 10:25:20 +0900
commitdc5b11fc7d45bfeabd0866b8821fefbfc7fd1209 (patch)
tree5774d9f9cb72172ba61ded3344e43577f9baf227 /src/progs/pickit2/base/CMakeLists.txt
parentd5d77862d18d9246d246969afc869713877f80fc (diff)
downloadpiklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.tar.gz
piklab-dc5b11fc7d45bfeabd0866b8821fefbfc7fd1209.zip
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 199d48de5c43ab5da32fdfe2006f9d89bd4b6d17)
Diffstat (limited to 'src/progs/pickit2/base/CMakeLists.txt')
-rw-r--r--src/progs/pickit2/base/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/progs/pickit2/base/CMakeLists.txt b/src/progs/pickit2/base/CMakeLists.txt
new file mode 100644
index 0000000..1972a7f
--- /dev/null
+++ b/src/progs/pickit2/base/CMakeLists.txt
@@ -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
+)