summaryrefslogtreecommitdiffstats
path: root/reader/src/CMakeLists.txt
blob: 8b42f39a7e6d923d26e0fd65d4120d9493bfb204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
	${CMAKE_SOURCE_DIR}/zlibrary/core/include
	${CMAKE_SOURCE_DIR}/zlibrary/text/include
	${CMAKE_BINARY_DIR}/zlibrary/core/include
	${CMAKE_BINARY_DIR}/zlibrary/text/include
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)

##### tde-ebook-reader

file( GLOB_RECURSE _src_cpp_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
tde_add_executable( tde-ebook-reader AUTOMOC
  SOURCES ${_src_cpp_files}
	LINK zlcore-tqt-shared zltext-tqt-shared ${SQLITE_LIBRARIES}
  DESTINATION ${BIN_INSTALL_DIR}
)