mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Initial commit of ResInsight version 0.4.8
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
SET (ProjectName ModelVisualization_UnitTests)
|
||||
project ( ${ProjectName} )
|
||||
|
||||
include_directories(
|
||||
${LibCore_SOURCE_DIR}
|
||||
${LibGeometry_SOURCE_DIR}
|
||||
${LibRender_SOURCE_DIR}
|
||||
${LibViewing_SOURCE_DIR}
|
||||
|
||||
${ResInsight_SOURCE_DIR}/ThirdParty
|
||||
${ResInsight_SOURCE_DIR}/CommonCode
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
|
||||
|
||||
)
|
||||
|
||||
set( MODEL_VISUALIZATION_CPP_SOURCES
|
||||
../RivPipeGeometryGenerator.cpp
|
||||
)
|
||||
|
||||
|
||||
set( CPP_SOURCES
|
||||
${MODEL_VISUALIZATION_CPP_SOURCES}
|
||||
)
|
||||
|
||||
set( UNIT_TEST_CPP_SOURCES
|
||||
main.cpp
|
||||
RivPipeGeometryGenerator-Test.cpp
|
||||
)
|
||||
|
||||
|
||||
set( LINK_LIBRARIES
|
||||
LibViewing
|
||||
LibRender
|
||||
LibGeometry
|
||||
LibCore
|
||||
|
||||
CommonCode
|
||||
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
add_executable( ${ProjectName}
|
||||
${CPP_SOURCES}
|
||||
${UNIT_TEST_CPP_SOURCES}
|
||||
|
||||
${ResInsight_SOURCE_DIR}/ThirdParty/gtest/gtest-all.cc
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries( ${ProjectName} ${LINK_LIBRARIES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user