~aleteoryx/muditaos

ref: 5ab1ef65ddf7b1fcb8847a2a5f38e49f77eaf4f0 muditaos/module-services/service-fileindexer/CMakeLists.txt -rw-r--r-- 1.1 KiB
5ab1ef65 — Marek Niepieklo [EGD-5868] Add access to backup over MTP 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 3.12)

project(service-fileindexer VERSION 1.0
	DESCRIPTION "File indexer service ")

add_library(${PROJECT_NAME} STATIC ${SOURCES} ${BOARD_SOURCES})

target_include_directories( ${PROJECT_NAME} PRIVATE ${TAGLIB_INCLUDE_DIRS} )

# Board specific compilation definitions,options,include directories and features
target_compile_definitions(${PROJECT_NAME} PUBLIC ${PROJECT_CONFIG_DEFINITIONS})
target_compile_definitions(${PROJECT_NAME} PUBLIC ${PROJECT_TARGET})
target_compile_definitions(${PROJECT_NAME} PUBLIC ${TARGET_COMPILE_DEFINITIONS})
target_include_directories(${PROJECT_NAME} PUBLIC ${BOARD_DIR_INCLUDES})
target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_INCLUDES})
target_compile_features(${PROJECT_NAME} PUBLIC ${TARGET_COMPILE_FEATURES})
target_link_options(${PROJECT_NAME} PUBLIC ${TARGET_LINK_OPTIONS})


target_sources( ${PROJECT_NAME}
	PRIVATE
	"ServiceFileIndexer.cpp"
	"messages/FileChangeMessage.cpp"
	"StartupIndexer.cpp"
	"notesIndexer.cpp"
)


target_link_libraries(${PROJECT_NAME} module-bsp module-os module-utils module-vfs module-sys tag )