summaryrefslogtreecommitdiffstats
path: root/src/progs/psp/base/CMakeLists.txt
blob: aab44147fd460fec37e7c4814df0c706fec325a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
)