You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.1 KiB
67 lines
1.1 KiB
add_subdirectory( pics )
|
|
|
|
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_SOURCE_DIR}/debian
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${TDE_LIB_DIR}
|
|
)
|
|
|
|
|
|
##### kpicosim (executable)
|
|
|
|
tde_add_executable( ${PROJECT_NAME} AUTOMOC
|
|
|
|
SOURCES
|
|
main.cpp
|
|
kpicosim.cpp
|
|
codeeditor.cpp
|
|
ksimulator.cpp
|
|
kprocessorview.cpp
|
|
kserialview.cpp
|
|
kportview.cpp
|
|
kscratchpadview.cpp
|
|
kport.cpp
|
|
kexportdialog.cpp
|
|
cassembler.cpp
|
|
cinstruction.cpp
|
|
cpicoblaze.cpp
|
|
jtagdevice.cpp
|
|
kjtagdialog.cpp
|
|
jtag.cpp
|
|
jtagprogrammer.cpp
|
|
LINK
|
|
tdecore-shared
|
|
tdeui-shared
|
|
tdeio-shared
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### icons
|
|
|
|
tde_install_icons( ${PROJECT_NAME} )
|
|
|
|
|
|
##### other data
|
|
|
|
install(
|
|
FILES kpicosimui.rc
|
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
|
)
|
|
|
|
install(
|
|
FILES psm.xml
|
|
DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax
|
|
)
|
|
|
|
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
|