-
Notifications
You must be signed in to change notification settings - Fork 69
/
CMakeLists.txt
48 lines (30 loc) · 1.02 KB
/
CMakeLists.txt
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
30
31
32
33
34
35
36
37
38
39
40
cmake_minimum_required (VERSION 3.0)
project(HDR_ISP)
#if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
#message(STATUS "set opencv dir to thirdparty")
#set(OpenCV_DIR "thirdparty/opencv")
#endif()
#find_package(OpenCV REQUIRED)
#message(STATUS "opencv inc path " ${OpenCV_INCLUDE_DIRS})
include_directories(thirdparty/easylog)
include_directories(thirdparty/easybmp)
include_directories(thirdparty/json/nlohmann)
include_directories(srcs/include)
add_subdirectory(thirdparty/easylog)
add_subdirectory(thirdparty/easybmp)
add_subdirectory(srcs)
#aux_source_directory(srcs/sources/modules/ ISP_MOD_SRCS_LISTS)
#aux_source_directory(srcs/sources/common/ ISP_COM_SRCS_LISTS)
#add_subdirectory(sources/)
set (
SRCS
main.cpp
parse.cpp
)
message(STATUS "sources lists " ${SRCS})
add_executable (${PROJECT_NAME} ${SRCS})
#remove opencv depend
#include_directories(${OpenCV_INCLUDE_DIRS})
#link_directories(${OpenCV_LIBRARY_DIRS})
#${OpenCV_LIBS}
target_link_libraries(${PROJECT_NAME} easylog easybmp modules)