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

📄 jamfile

📁 boost库提供标准的C++ API 配合dev c++使用,功能更加强大
💻
字号:
# Define SGB (stanford graph base top level directory) and 
# LEDA (also top level directory) at the command line of jam using -s


subproject libs/graph/test ;

import testing ;

test-suite graph : 

    [ run transitive_closure_test.cpp : : : <sysinclude>$(BOOST_ROOT) ]
             
    [ compile adj_list_cc.cpp : <sysinclude>$(BOOST_ROOT)  ]

    # adj_list_test needs some work -JGS
    # unit-test adj_list_test : adj_list_test.cpp : <sysinclude>$(BOOST_ROOT)  ;
    [ compile adj_matrix_cc.cpp : <sysinclude>$(BOOST_ROOT)  ]

    [ run bfs.cpp <lib>../../test/build/boost_test_exec_monitor 
        : : : <sysinclude>$(BOOST_ROOT) ]

    [ compile bfs_cc.cpp : <sysinclude>$(BOOST_ROOT)  ]

    [ run dfs.cpp <lib>../../test/build/boost_test_exec_monitor 
        : : : <sysinclude>$(BOOST_ROOT) ]

    [ compile dfs_cc.cpp : <sysinclude>$(BOOST_ROOT)  ]

    [ compile dijkstra_cc.cpp : <sysinclude>$(BOOST_ROOT) ]

    [ compile edge_list_cc.cpp : <sysinclude>$(BOOST_ROOT) ]

    [ compile filtered_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ]

    [ run graph.cpp : : : <sysinclude>$(BOOST_ROOT) ]

    [ compile graph_concepts.cpp : <sysinclude>$(BOOST_ROOT) ]

    [ compile reverse_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) ] 

    [ run subgraph.cpp <lib>../../test/build/boost_test_exec_monitor 
        : : : <sysinclude>$(BOOST_ROOT) ]

    [ run isomorphism.cpp <lib>../../test/build/boost_test_exec_monitor 
        : : : <sysinclude>$(BOOST_ROOT) ]

    [ compile vector_graph_cc.cpp : <sysinclude>$(BOOST_ROOT)  ]

    [ compile copy.cpp : <sysinclude>$(BOOST_ROOT) ]
    
    [ compile property_iter.cpp : <sysinclude>$(BOOST_ROOT) ]    
    ;

# Run SDB tests only when -sSDB= is set.
if $(SDB) != ""
{
    local SDB_DEPENDCIES =
        <include>$(SGB) <library-file>$(SGB)/libgb.a  ;

    compile stanford_graph_cc.cpp : <sysinclude>$(BOOST_ROOT) 
        $(SDB_DEPENDCIES)  ;
}

# Run LEDA tests only when -sLEDA= is set.
if $(LEDA) != ""
{
     local LEDA_DEPENDENCIES = 
        <include>$(LEDA)/incl 
        <library-file>$(LEDA)/libG.a
        ;

    compile leda_graph_cc.cpp : <sysinclude>$(BOOST_ROOT)  
       $(LEDA_DEPENDENCIES) ;
}

⌨️ 快捷键说明

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