2016-07-11 22:15:44 +02:00
|
|
|
#TBB library
|
|
|
|
include_directories(${TBB_ROOT_DIR}/include)
|
|
|
|
|
2016-04-28 21:40:36 +02:00
|
|
|
include_directories(${BOOST_INCLUDE_DIR})
|
|
|
|
|
2016-12-18 01:00:41 +01:00
|
|
|
set(CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_CONFIG_DIR}")
|
|
|
|
configure_file(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/PathConfig.h.in
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/PathConfig.h
|
|
|
|
NEWLINE_STYLE WIN32
|
|
|
|
)
|
|
|
|
|
2016-04-28 21:40:36 +02:00
|
|
|
SET(SOURCE
|
|
|
|
src/CCNF_patch_expert.cpp
|
|
|
|
src/LandmarkDetectionValidator.cpp
|
|
|
|
src/LandmarkDetectorFunc.cpp
|
|
|
|
src/LandmarkDetectorModel.cpp
|
|
|
|
src/LandmarkDetectorUtils.cpp
|
|
|
|
src/LandmarkDetectorParameters.cpp
|
|
|
|
src/Patch_experts.cpp
|
|
|
|
src/PAW.cpp
|
|
|
|
src/PDM.cpp
|
|
|
|
src/SVR_patch_expert.cpp
|
|
|
|
src/stdafx.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(HEADERS
|
|
|
|
include/CCNF_patch_expert.h
|
|
|
|
include/LandmarkCoreIncludes.h
|
|
|
|
include/LandmarkDetectionValidator.h
|
|
|
|
include/LandmarkDetectorFunc.h
|
|
|
|
include/LandmarkDetectorModel.h
|
|
|
|
include/LandmarkDetectorParameters.h
|
|
|
|
include/LandmarkDetectorUtils.h
|
|
|
|
include/Patch_experts.h
|
|
|
|
include/PAW.h
|
|
|
|
include/PDM.h
|
|
|
|
include/SVR_patch_expert.h
|
|
|
|
include/stdafx.h
|
|
|
|
)
|
|
|
|
|
2016-12-18 01:00:41 +01:00
|
|
|
SET(EXTRA_HEADERS
|
|
|
|
include/PathConfig.h
|
|
|
|
)
|
|
|
|
|
2016-04-28 21:40:36 +02:00
|
|
|
include_directories(./include)
|
|
|
|
include_directories(${LandmarkDetector_SOURCE_DIR}/include)
|
|
|
|
|
2016-12-18 01:00:41 +01:00
|
|
|
add_library( LandmarkDetector ${SOURCE} ${HEADERS} ${EXTRA_HEADERS})
|
2016-04-28 21:40:36 +02:00
|
|
|
|
2016-12-18 01:00:41 +01:00
|
|
|
install (TARGETS LandmarkDetector DESTINATION lib)
|
|
|
|
install (FILES ${HEADERS} DESTINATION include/OpenFace)
|