summaryrefslogtreecommitdiffstats
path: root/src/progs/psp/base/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/psp/base/CMakeLists.txt')
-rw-r--r--src/progs/psp/base/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/progs/psp/base/CMakeLists.txt b/src/progs/psp/base/CMakeLists.txt
new file mode 100644
index 0000000..aab4414
--- /dev/null
+++ b/src/progs/psp/base/CMakeLists.txt
@@ -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
+)