Files
ResInsight/ThirdParty/Ert/devel/libconfig/applications/SConstruct

25 lines
651 B
Python
Raw Normal View History

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 )