ResInsight/ThirdParty/NRLib/CMakeLists.txt

35 lines
630 B
CMake
Raw Normal View History

cmake_minimum_required (VERSION 2.8)
project (NRLib)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/nrlib
${CMAKE_CURRENT_SOURCE_DIR}/nrlib/well
2016-05-27 05:48:56 -05:00
${boost-Subset_SOURCE_DIR}
)
file ( GLOB NRLIB_IOTOOLS_SRC
nrlib/iotools/*.hpp
nrlib/iotools/*.cpp
)
file ( GLOB NRLIB_WELL_SRC
nrlib/well/*.hpp
nrlib/well/*.cpp
)
add_library( ${PROJECT_NAME}
STATIC
${NRLIB_IOTOOLS_SRC}
${NRLIB_WELL_SRC}
)
2015-09-14 02:02:27 -05:00
if (MSVC)
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4996")
endif()
2015-09-14 02:02:27 -05:00
add_subdirectory(well_UnitTests)