view xpcom/src/SConscript @ 1:3c2e0caab57b

Added initial sconstruct and sconscript.
author Atul Varma <varmaa@toolness.com>
date Tue, 06 May 2008 14:33:51 -0700
parents
children 8f0e873fe0aa
line wrap: on
line source

Import("env")

files = [
    "ErrorUtils.cpp",
    "PyGBase.cpp",
    "PyGModule.cpp",
    "PyGStub.cpp",
    "PyGInputStream.cpp",
    "PyGWeakReference.cpp",
    "PyIClassInfo.cpp",
    "PyIComponentManager.cpp",
    "PyIInputStream.cpp",
    "PyIEnumerator.cpp",
    "PyIID.cpp",
    "PyIInterfaceInfo.cpp",
    "PyIInterfaceInfoManager.cpp",
    "PyISimpleEnumerator.cpp",
    "PyISupports.cpp",
    "PyIVariant.cpp",
    "Pyxpt_info.cpp",
    "TypeObject.cpp",
    "VariantUtils.cpp",
    "dllmain.cpp",
    ]

libs = [
    "xpcomglue_s",
    "xpcom",
    "nspr4",
    "plc4"
    ]

frameworks = [
    "Python",
    ]

env.LoadableModule(source=files,
                   target="lib_xpcom.dylib",
                   LIBS=libs,
                   FRAMEWORKS=frameworks)