2018-02-27 12:05:04 -06:00
|
|
|
cmake_minimum_required (VERSION 2.8.12)
|
2015-05-11 06:25:05 -05:00
|
|
|
|
|
|
|
project (ResultStatisticsCache)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${LibCore_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
|
|
RigStatisticsCalculator.h
|
|
|
|
RigStatisticsCalculator.cpp
|
|
|
|
RigStatisticsDataCache.h
|
|
|
|
RigStatisticsDataCache.cpp
|
|
|
|
RigStatisticsMath.h
|
|
|
|
RigStatisticsMath.cpp
|
|
|
|
)
|
|
|
|
|
2018-02-27 12:05:04 -06:00
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
|
|
PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
2015-05-11 06:25:05 -05:00
|
|
|
target_link_libraries(${PROJECT_NAME} LibCore)
|
2018-02-27 12:05:04 -06:00
|
|
|
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|
2019-01-31 23:56:11 -06:00
|
|
|
|
2019-02-11 00:13:08 -06:00
|
|
|
# cotire
|
|
|
|
if (COMMAND caf_apply_cotire)
|
|
|
|
caf_apply_cotire("${PROJECT_NAME}")
|
2019-01-31 23:56:11 -06:00
|
|
|
endif()
|