mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-27 00:36:53 -06:00
cd6860b70f
Add a Cmake file to make it a library
22 lines
345 B
CMake
22 lines
345 B
CMake
cmake_minimum_required (VERSION 2.8.12)
|
|
|
|
project (cafHexInterpolator)
|
|
|
|
set( PROJECT_FILES
|
|
cafHexInterpolator.h
|
|
)
|
|
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
${PROJECT_FILES}
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_link_libraries( ${PROJECT_NAME} LibCore )
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|