summaryrefslogtreecommitdiff
path: root/gpr/source/lib/dng_sdk/CMakeLists.txt
blob: 40f9a92771bbf585c89ece21bab2e488ff3e7078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# library
set( LIB_NAME dng_sdk )

# get source files
file( GLOB SRC_FILES "*.cpp" )

# get include files
file( GLOB INC_FILES "*.h" )

# add include files from other folders
include_directories( "../common/private" )
include_directories( "../common/public" )
include_directories( "../xmp_core/public/include" )

# library
add_library( ${LIB_NAME} STATIC ${SRC_FILES} ${INC_FILES} )

target_link_libraries( ${LIB_NAME} )

# set the folder where to place the projects
set_target_properties( ${LIB_NAME} PROPERTIES FOLDER lib )