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.
41 lines
754 B
41 lines
754 B
|
|
##### install files
|
|
|
|
file( GLOB _symbols RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
|
list( SORT _symbols )
|
|
|
|
foreach( _symbol IN LISTS _symbols )
|
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_symbol} )
|
|
file( GLOB _files ${_symbol}/*.png )
|
|
list( SORT _files )
|
|
install(
|
|
FILES ${_files}
|
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/mathsymbols/${_symbol}
|
|
)
|
|
endif()
|
|
endforeach()
|
|
|
|
|
|
########### next target ###############
|
|
|
|
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${TDE_LIB_DIR}
|
|
)
|
|
|
|
|
|
tde_add_executable( gesymb AUTOMOC
|
|
SOURCES
|
|
gesymb.cpp
|
|
LINK
|
|
${TQT_LIBRARIES}
|
|
)
|