mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-05 13:47:32 -06:00
add use_only_needed to targets
This commit is contained in:
1 parent
b782cb1719
commit
42742fadc1
2 files changed
+5
No files matched your search
@@ -53,6 +53,7 @@ pybind11_add_module(BlackOil ${PYBIND11_SYSTEM}
|
||||
use_warnings(TARGET BlackOil)
|
||||
use_fast_build(TARGET BlackOil)
|
||||
use_additional_optimization(TARGET BlackOil)
|
||||
use_only_needed(TARGET BlackOil)
|
||||
|
||||
pybind11_add_module(GasWater ${PYBIND11_SYSTEM}
|
||||
$<TARGET_OBJECTS:moduleVersion>
|
||||
@@ -62,6 +63,7 @@ pybind11_add_module(GasWater ${PYBIND11_SYSTEM}
|
||||
use_warnings(TARGET GasWater)
|
||||
use_fast_build(TARGET GasWater)
|
||||
use_additional_optimization(TARGET GasWater)
|
||||
use_only_needed(TARGET GasWater)
|
||||
|
||||
pybind11_add_module(OnePhase ${PYBIND11_SYSTEM}
|
||||
$<TARGET_OBJECTS:moduleVersion>
|
||||
@@ -71,6 +73,7 @@ pybind11_add_module(OnePhase ${PYBIND11_SYSTEM}
|
||||
use_warnings(TARGET OnePhase)
|
||||
use_fast_build(TARGET OnePhase)
|
||||
use_additional_optimization(TARGET OnePhase)
|
||||
use_only_needed(TARGET OnePhase)
|
||||
|
||||
# Create a convenience target to build all Python simulator modules
|
||||
add_custom_target(python_simulator_modules
|
||||
|
||||
Reference in new issue
Block a user