mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
0907f57de9
* Fwk: Avoid use of include_directories * Remove target_include_directories from Commands * Refactor cmake includes - Avoid using include_directories, and use target_include_directories. - Use add_subdirectory directly from main cmakefile, do not use in ApplicationLibCode.
15 lines
407 B
CMake
15 lines
407 B
CMake
project(ResultStatisticsCache)
|
|
|
|
add_library(
|
|
${PROJECT_NAME}
|
|
RigStatisticsCalculator.h RigStatisticsCalculator.cpp
|
|
RigStatisticsDataCache.h RigStatisticsDataCache.cpp RigStatisticsMath.h
|
|
RigStatisticsMath.cpp
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
target_link_libraries(${PROJECT_NAME} LibCore ApplicationLibCode)
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|