⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gcc-stlport-tools.jam

📁 C++的一个好库。。。现在很流行
💻 JAM
字号:
# (C) Copyright David Abrahams and Carlos Pinto Coelho 2001.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)

# this is simply an extension to the gcc toolset. 
extends-toolset gcc ;

flags $(gCURRENT_TOOLSET) STLPORT_LIB_BASE_NAME ;

if $(NT)
{
    STLPORT_LIB_BASE_NAME = stlport_cygwin ;
}
else
{
    STLPORT_LIB_BASE_NAME = stlport_gcc ;
}

SEARCH on stlport.jam = $(BOOST_BUILD_PATH) ;
include stlport.jam ;

# threading libraries always needed when using the library (i.e. iostreams).
if $(UNIX)
{
    switch $(JAMUNAME)
    {
    case SunOS* :
        {
        flags gcc LINKFLAGS <stlport-iostream>on : -pthreads ;
        flags gcc FINDLIBS <stlport-iostream>on : rt ;
        }
    case BeOS :
        {
        # BeOS has no threading options, don't set anything here.
        }
    case Darwin :
        {
        # MacOS X, doesn't need any threading options set
        # -lpthread is linked to by default.
        }
    case *BSD :
        {
        flags gcc LINKFLAGS <stlport-iostream>on : -pthread ;
        }
    case IRIX :
        {
        # gcc on IRIX does not support multi-threading, don't set anything here.
        }
    case HP_UX :
        {
        # gcc on HP-UX does not support multi-threading, don't set anything here
        }
    case * :
        {
        flags gcc LINKFLAGS <stlport-iostream>on : -pthread ;
        flags gcc FINDLIBS <stlport-iostream>on : rt ;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -