mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Always use static libraries for opm libs and NRlib
This commit is contained in:
parent
94bf950278
commit
1c044da54a
1
ThirdParty/NRLib/CMakeLists.txt
vendored
1
ThirdParty/NRLib/CMakeLists.txt
vendored
@ -28,6 +28,7 @@ file ( GLOB NRLIB_WELL_SRC
|
||||
)
|
||||
|
||||
add_library( ${PROJECT_NAME}
|
||||
STATIC
|
||||
${NRLIB_IOTOOLS_SRC}
|
||||
${NRLIB_WELL_SRC}
|
||||
)
|
||||
|
24
ThirdParty/custom-opm-common/CMakeLists.txt
vendored
24
ThirdParty/custom-opm-common/CMakeLists.txt
vendored
@ -3,25 +3,25 @@ cmake_minimum_required (VERSION 2.8)
|
||||
project (custom-opm-common)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/opm-common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/opm-common
|
||||
)
|
||||
|
||||
#include(opm-common/CMakeLists_files.cmake)
|
||||
|
||||
list (APPEND MAIN_SOURCE_FILES
|
||||
opm-common/opm/common/data/SimulationDataContainer.cpp
|
||||
opm-common/opm/common/OpmLog/CounterLog.cpp
|
||||
opm-common/opm/common/OpmLog/EclipsePRTLog.cpp
|
||||
opm-common/opm/common/OpmLog/LogBackend.cpp
|
||||
opm-common/opm/common/OpmLog/Logger.cpp
|
||||
opm-common/opm/common/OpmLog/LogUtil.cpp
|
||||
opm-common/opm/common/OpmLog/OpmLog.cpp
|
||||
opm-common/opm/common/OpmLog/StreamLog.cpp
|
||||
opm-common/opm/common/OpmLog/TimerLog.cpp
|
||||
opm-common/opm/common/data/SimulationDataContainer.cpp
|
||||
opm-common/opm/common/OpmLog/CounterLog.cpp
|
||||
opm-common/opm/common/OpmLog/EclipsePRTLog.cpp
|
||||
opm-common/opm/common/OpmLog/LogBackend.cpp
|
||||
opm-common/opm/common/OpmLog/Logger.cpp
|
||||
opm-common/opm/common/OpmLog/LogUtil.cpp
|
||||
opm-common/opm/common/OpmLog/OpmLog.cpp
|
||||
opm-common/opm/common/OpmLog/StreamLog.cpp
|
||||
opm-common/opm/common/OpmLog/TimerLog.cpp
|
||||
)
|
||||
|
||||
|
||||
add_library( ${PROJECT_NAME}
|
||||
${MAIN_SOURCE_FILES}
|
||||
STATIC
|
||||
${MAIN_SOURCE_FILES}
|
||||
)
|
||||
|
||||
|
3
ThirdParty/custom-opm-parser/CMakeLists.txt
vendored
3
ThirdParty/custom-opm-parser/CMakeLists.txt
vendored
@ -321,9 +321,8 @@ generated-source/ParserKeywords3.cpp
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME}
|
||||
|
||||
STATIC
|
||||
${incl_path}
|
||||
|
||||
${opm_parser_generated_source_files}
|
||||
)
|
||||
|
||||
|
7
ThirdParty/custom-opmjson/CMakeLists.txt
vendored
7
ThirdParty/custom-opmjson/CMakeLists.txt
vendored
@ -8,11 +8,12 @@ include_directories(
|
||||
)
|
||||
|
||||
list (APPEND MAIN_SOURCE_FILES
|
||||
opm/json/JsonObject.cpp
|
||||
opm/json/cjson/cJSON.c
|
||||
opm/json/JsonObject.cpp
|
||||
opm/json/cjson/cJSON.c
|
||||
)
|
||||
|
||||
add_library( ${PROJECT_NAME}
|
||||
${MAIN_SOURCE_FILES}
|
||||
STATIC
|
||||
${MAIN_SOURCE_FILES}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user