mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
This is SVN commit 4117 Updated ResInsight cmakelists to build ERT and link directly Removed precompiled ERT binaries p4#: 20183
25 lines
651 B
Python
25 lines
651 B
Python
import os
|
|
import os.path
|
|
import sys
|
|
sys.path += ["../../scons-config"]
|
|
import global_config
|
|
from global_config import LIBUTIL
|
|
from global_config import LIBCONFIG
|
|
from global_config import get_target
|
|
from global_config import add_program
|
|
|
|
lib_path = "../lib"
|
|
include_path = "../include"
|
|
bin_path = "../bin"
|
|
|
|
conf = global_config.get_conf(os.getcwd() , 2)
|
|
env = Environment()
|
|
conf.update_env( env , [LIBCONFIG , LIBUTIL] , ext_liblist = ["m","z","pthread"] , link = True)
|
|
|
|
|
|
add_program(env , conf , bin_path , "config_test" , "config_test.c")
|
|
add_program(env , conf , bin_path , "conf_test" , "conf_test.c" )
|
|
|
|
Default( bin_path )
|
|
|