Commit Graph

255 Commits

Author SHA1 Message Date
jonjenssen
9a219ddcb2 Update docking framework to latest version and add fix to make redocking of floating windows work on WSL/wayland 2023-05-21 15:15:46 +02:00
Magne Sjaastad
bce8177033
Delete some unused variables and disable warnings 2023-05-21 15:15:09 +02:00
Magne Sjaastad
f4dd1d363d
Add prefix to cmake options
Add missing RESINSIGHT_ prefix to cmake options
GHA: Fix warnings
2023-05-19 15:03:04 +02:00
Kristian Bendiksen
5b5a302f21 Regression Analysis: Avoid fetching Eigen 2023-05-16 09:42:18 +02:00
Kristian Bendiksen
c23cdee17d #7206 Add regression analysis. 2023-05-16 09:42:18 +02:00
Magne Sjaastad
c55d46c080
GHA: Use precompiled opm-common
* GHA: Use precompiled opm-common
* Fix cmake logic
2023-05-02 12:32:09 +02:00
Magne Sjaastad
bb0ae9e381
Add optional download of binaries in build
* #10202 Download and use binaries as part of a build
2023-05-01 18:44:05 +02:00
magnesj
3c1f0862e4 Fixes by cmake-format 2023-05-01 18:35:59 +02:00
Magne Sjaastad
b447ff86bb Add optional support for download of geomech dependencies 2023-05-01 18:35:59 +02:00
Magne Sjaastad
0907f57de9
Use target_include_directory
* 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.
2023-04-25 13:14:26 +02:00
jonjenssen
d8def3d986
OpenVDS should always be used (#10166)
* OpenVDS should always be used, remove optional defines
2023-04-24 18:23:31 +02:00
Magne Sjaastad
90ccf447fb
Download and use openvds package (#10153)
Download and use openvds package
2023-04-24 17:10:51 +02:00
jonjenssen
0e7cf49b17
OpenVDS seismic access (#10145)
Add OpenVDS support for reading seismic data from VDS files
2023-04-21 16:38:04 +02:00
Magne Sjaastad
b7f8d0e0f1
Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings
* remove several excluded checks for clang
* removed several unused variables
* Hide warnings qwt
* add missing parentheses in logical expressions
* Remove double check on same logical expression
2023-04-17 15:57:39 +02:00
Magne Sjaastad
cde96a39f6 Remove test code for ccache 2023-03-31 16:01:56 +02:00
Magne Sjaastad
7499811564
MSVC: Move seismic libraries into "Thirdparty" 2023-03-27 13:00:26 +02:00
jonjenssen
2e01f4a31d
Basic seismic support (#10010)
Add basic seismic section support to eclipse and geomech views.
2023-03-24 15:36:10 +01:00
Magne Sjaastad
d23c6b4bb6
Janitor: Several code hygiene adjustments (#9981)
* Include all libraries in APP_FWK_LIBRARIES
* Several fixes detected by Static Code Analysis
* Remove unused code
* Add .clang.tidy
* Use QElapsedTimer
* Use horizontalAdvance
* Avoid | between enum of different classes
* Avoid illegal character
* Renaming and reorder of constructor initialization
2023-03-23 15:49:06 +01:00
Magne Sjaastad
947185bdcc Visual Studio: Enable support for Static Code Analysis 2023-02-13 14:44:01 +01:00
Magne Sjaastad
863925f980 Avoid debug info flag /Z7 flag for release build 2023-01-28 09:42:44 +01:00
Magne Sjaastad
073343ce9b
CMake: Improve setting of debug info flags for buildcache 2023-01-27 18:31:35 +01:00
Magne Sjaastad
583c248cf9
Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-01-24 12:29:27 +01:00
Magne Sjaastad
abc9e82ff5 System: Enable and use c++20
Enable c++20 in top level cmake. Keep c++17 for GrpcInterface, as the protoc tool does not work with c++20.
Several code adjustments to fix compiler issues.
2023-01-19 08:33:02 +01:00
Magne Sjaastad
424ecaa560 Maintenance: Issue submodule update once
Avoid calling submodule update on specific subfolders. 
Fixes by cmake-format
2023-01-17 09:39:10 +01:00
Magne Sjaastad
3354630726
Add optional support for ccache for MSVC (#9667) 2023-01-13 07:57:13 +01:00
Kristian Bendiksen
8b51160ac4
Roff support with submodule
* Roff: Add initial roff support (with roffcpp as submodule).
* Roff: Create viewer when importing roff files.
* Roff: add timing for roff import.
* Roff: precompute active cell indexes.
* Roff: parallelize using OpenMP.
* Roff: Handle exceptions when importing.
* Roff: improvements from review.
* Invert ordering

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 15:28:26 +01:00
Magne Sjaastad
0fa001fc70
Opm Parser: Include PATHS when importing WSEGLINK
* Opm Parser: Include PATHS when importing WSEGLINK
Add PATHS to supported keywords to be able to use include files with alias in file path.
* Move opm-parser-tests into OPM solution folder
2022-10-21 07:47:27 +02:00
Magne Sjaastad
a52c8c9342 Install: Avoid installing QtAdvancedDocking as part of Resinsight install 2022-10-19 11:26:14 +02:00
Kristian Bendiksen
806c9af82b
9172 Remove dependency on QtScript
* #9172 Update json encoding/decoding to avoid QtScript
* Janitor: remove unused debug code
* Janitor: minor cleanup
* Remove dependencies to Qt Script

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-10-18 10:07:16 +02:00
Magne Sjaastad
78516f3496 Set minimum CMake version to 3.15 to avoid warnings on MSVC
Set CMake version on top level to avoid warnings on MSVC when warning level is set to something else than the default.

https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin
2022-08-02 12:50:49 +02:00
Magne Sjaastad
7a0bfd4917 Use updated version of opm-common as submodule
* Adjustments to build system for opm-common
* Add opm-common as submodule
* Disable use of unity build for opm-common
2022-07-07 22:17:33 +02:00
jonjenssen
d5269abc6e
New dockingsystem (#9116)
* Use Qt Advanced Docking as forked submodule
* Use new docking system in code
2022-07-07 12:03:02 +02:00
jonjenssen
fa2cf302bb
Add qt advanced docking to third party folder and build environment (#9109)
* Add qt advanced docking as submodule
2022-07-05 11:06:10 +02:00
Magne Sjaastad
950ec38a14 Add userInterface unit tests 2022-05-31 15:05:07 +02:00
Magne Sjaastad
b98bd579d7
Janitor: Silence deprecation warnings for Qwt and nightcharts 2022-03-15 08:27:07 +01:00
Magne Sjaastad
7238894bf6
Janitor: Set minimum Qt version to 5.12 2022-03-12 16:43:48 +01:00
Eirik Marthinsen
316cb222d9 CMake: Add fast_float to list of submodules to init
CMake is set to import submodules by default but fast_float was missing
from the list.
2022-02-07 13:10:13 +01:00
Magne Sjaastad
2d2bf0bbc7
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Kristian Bendiksen
258fbddc10
Merge pull request #8387 from OPM/qtcharts-summary-plots
Closes #8228 

Major refactoring of summary plotting. Now possible to create plots both with Qwt and QtChart as plotting tool.
2022-01-17 13:14:21 +01:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Eirik Marthinsen
200d5c65a3 AutoVcpkg: Include Vcpkg toolchain
Include the Vcpkg toolchain file after the installation of the first
package.

When building for the first time from a clean source tree, the Vcpkg
toolchain file does not exist. At the same time CMake is only reading
the toolchain file the very first time it is configuring, but since the
toolchain file is only created when vcpkg is configured on the first
call to vcpkg_install it will never read it. So it is not enough to just
reconfigure.

Note: It is not ideal to include it here since one might at some point
install and search for a package at an erlier point in the script and
fail to find it.

Alternative approaces that I considered:
- Include this file right after including AutoVcpkg. This would require
  1 recompilation for the file to be found and read which is
  unfortunate.
- Include this file in the config function in AutoVcpkg. This seemed
  difficult without including the file for every call to vcpkg_install,
  which seems unecessary.
2021-08-30 19:40:35 +02:00
Magne Sjaastad
5bc599cd57
Include top level cmakelist and fix formatting 2021-04-29 10:42:16 +02:00
Magne Sjaastad
f3e769ad13 libecl : Hide compiler warnings on MSVC 2021-04-29 09:07:36 +02:00
Magne Sjaastad
2d9ac615f2 Add MacOS build support 2021-04-05 09:39:12 -07:00
Gaute Lindkvist
7c42b4ae7b Turn off bundling of testmodels by default" 2021-01-15 15:42:26 +01:00
Gaute Lindkvist
746b542dcf #7210 Optionally Copy TestModels in install stage 2021-01-15 15:42:26 +01:00
Kristian Bendiksen
3112f61890 Configure RESINSIGHT_USE_ODB_API in root CMakeLists.txt 2021-01-12 11:05:53 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Kristian Bendiksen
e9d734f660 #6941 Add Grid Statistics plot using QtCharts.
The feature is only enabled if QtCharts is installed.
2020-12-10 10:00:50 +01:00
Magne Sjaastad
b0ec2895be Enable unity build on opm-common 2020-11-16 14:55:45 +01:00