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
Ruben Thoms
a180fc431b
Include boost spirit in order to compile opm-common.
2020-11-16 11:34:09 +01:00
rubenthoms
0747547aaf
Added CMake files for generating and including OPM-common as a ThirdParty library.
2020-11-16 11:34:09 +01:00
Kristian Bendiksen
c8c32efba2
Fix cmake 3.12 error: CMP0077 was not defined until 3.13.
2020-11-06 08:17:43 +01:00
Magne Sjaastad
15b5aef308
System : Do not autoinstall vcpkg packages by default ( #6876 )
...
* System : Do not autoinstall vcpkg packages by default
* System : Enable autoinstall of vcpkg for github action
2020-10-30 15:07:58 +01:00
Gaute Lindkvist
787dae4044
Automatic installation of vcpkg dependencies ( #6848 )
...
* Added AutoVcpkg files to cmake directory.
* Add auto install of vcpkg packages
* Add grpc install to GrpcInterface module
* Set VCPKG_ROOT in GitHub actions
Co-authored-by: Ruben Thoms <ruben.thoms@ceetronsolutions.com>
2020-10-30 12:29:57 +01:00
Gaute Lindkvist
514cca5f95
Simplify the CMake GRPC setup ( #6852 )
...
* Simplify GRPC CMake setup.
* Move pip install code to CMake rather than github action to ensure the same Python version
* Remove redunant NO_MODULE in GRPC cmakefiles
* Use old CMP0077 policy (changed in Cmake 3.13) because our base line is 3.12.
* Make GrpcInterface a separate Object Library
* Update pip command to include --user and setuptools
* Update grpc python generation
* Remove unity build from GrpcInterface library
* Update github action to explictly set up Python
2020-10-30 10:11:58 +01:00
Gaute Lindkvist
6d8eb4ccfa
#6797 Add option (on by default) to force legacy OpenGL ABIon Linux
2020-10-27 12:38:50 +01:00
rubenthoms
1941a1f3d3
Boost and Eigen to vcpkg ( #6817 )
...
* Moved boost subset installation to vcpkg.
* Moved Eigen to vcpkg.
Added packages to vcpkg-response files.
Removed unnecessary include_directories() calls.
Removed comments.
* Use target_link_library instead of boost_libraries
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2020-10-25 09:22:19 +01:00
Gaute Lindkvist
069b427d10
Require CMake 3.12
2020-10-20 11:05:10 +02:00
Gaute Lindkvist
97bd2fc67f
Workaround for byte / std::byte ambiguity on MSVC
2020-10-20 11:05:10 +02:00
Gaute Lindkvist
61809b6e22
Require C++17
2020-10-20 11:05:10 +02:00
Gaute Lindkvist
f7aed637f8
Require CMake 3.6
2020-10-20 11:05:10 +02:00
Gaute Lindkvist
9afac51bca
#6567 Remove use of GNU GSL
2020-09-24 08:05:25 +02:00
Gaute Lindkvist
af84ae7432
#6472 Use CMake's CMAKE_CXX_STANDARD flag to require C++11
...
* This should not hurt anywhere but may fix MacOS build issues
2020-09-23 13:58:41 +02:00
Kristian Bendiksen
3b788cbbdf
#6491 Silence "unused parameter" warnings.
2020-09-14 21:46:27 +02:00
Kristian Bendiksen
02944f4eca
Add ifdefs for OpenMP usage.
2020-09-14 21:46:27 +02:00
Gaute Lindkvist
5ae0e6a511
Fix build issues with test app by making CAF CVF-datatype scripting optional
2020-09-08 13:44:55 +02:00
Magne Sjaastad
6e160fb594
#6398 System : Add unity build to Qwt and flowdiagnostics
2020-08-29 10:30:56 +02:00
Magne Sjaastad
2901ad2c54
#6398 System : Remove cotire
2020-08-29 10:30:56 +02:00
Magne Sjaastad
08723f403f
Replace tabs with spaces
2020-06-16 22:07:14 +02:00
Magne Sjaastad
d2ccc684a5
Disable install of GSL
2020-06-16 22:07:14 +02:00
Magne Sjaastad
35c6e8b109
gha : Remove hardcoded VMAKE_INSTALL_PREFIX
2020-06-16 22:07:14 +02:00
Gaute Lindkvist
77090bce6a
Update only Third Party git submodules that are used
2020-06-03 15:41:17 +02:00
Magne Sjaastad
9158f65ed2
Bundling of HDF5 : Include symlinks in addition to binary file
2020-05-28 14:27:56 +02:00
Magne Sjaastad
805c735ad3
buildcache : Remove Z7 from release build
...
Avoid debug symbols in release build. Faster build and smaller object files.
2020-05-21 18:34:18 +02:00
Magne Sjaastad
fd475589a5
Build : Adjust compiler flags for debug builds
...
buildcache requires compiler flag /Z7 to be set for MSVC. Adjust these flags to be able to use caching for debug builds.
2020-05-14 09:27:27 +02:00
Magne Sjaastad
e3115bfef9
Add support for compiler launcher using buildcache
...
Use CMAKE_CXX_COMPILER_LAUNCHER if buildcache is found in path
2020-05-08 11:28:55 +02:00
Magne Sjaastad
a1eb707b02
Add test project including cvf and fix compile issues
2020-05-08 11:28:55 +02:00
Magne Sjaastad
25ba7c380c
CMake : Move all Gsl projects into solution folder Thirdparty/GSL
2020-04-27 11:10:39 +02:00
Gaute Lindkvist
c801d768d3
Removed qwt from source code tree and added submodule
2020-04-24 15:12:43 +02:00
Magne Sjaastad
616af75df3
#4035 System : Remove term souring from cmake and UI
...
Use general term HDF5 when required
2020-04-24 11:40:22 +02:00
Magne Sjaastad
4b372b438e
System : Remove support for Qt4
2020-04-24 11:40:22 +02:00
Magne Sjaastad
e4547b8e0d
Set GSL to OFF by default
...
Build server in Equinor is not updated with required minimum version for CMake, set GSL off by default
2020-04-23 14:48:20 +02:00
Gaute Lindkvist
87b631a23e
Make GNU GSL optional
2020-04-22 10:52:02 +02:00
Gaute Lindkvist
60419f0985
Working Correlation Plot prototype
2020-04-17 13:54:21 +02:00
Magne Sjaastad
f216bf8d6a
Python doc improvements ( #5669 )
...
* Add tests to xml data type inspection
* Add baseline for testing of PdmScripting
* #5631 Generate doc for Python
2020-03-12 07:45:52 +01:00
Gaute Lindkvist
b2f55a3101
Make scriptability a CAF-feature
2020-03-05 08:40:46 +01:00
Magne Sjaastad
fddc15b1d8
#5370 Unity Build : Add config for ResInsight
2020-01-23 13:41:31 +01:00
Jacob Støren
d32db574cb
#5318 Surface Intersection geometry with results
2020-01-17 13:24:25 +01:00