Boost C++ Librariesの自動リンク

naohiro19
記事: 256
登録日時: 14年前
住所: 愛知県

Boost C++ Librariesの自動リンク

投稿記事 by naohiro19 » 9年前

Boost C++ Librariesには という便利なヘッダーファイルがあります。

CODE:

#pragma once

/*
 ファイル名:AutoLinkSet.h

    これらのファイルを自動リンクさせる場合は
	#define USE_BOOST_ATMIC
	#include "AutoLinkSet.h"
	と記述してください。
*/

#ifdef USE_BOOST_ATMIC
#define BOOST_LIB_NAME boost_atomic
#include 
#endif

#ifdef USE_BOOST_BZIP2
#define BOOST_LIB_NAME boost_bzip2
#include 
#endif

#ifdef USE_BOOST_CHRONO
#define BOOST_LIB_NAME boost_chrono
#include 
#endif

#ifdef USE_BOOST_CONTAINER
#define BOOST_LIB_NAME boost_container
#include 
#endif

#ifdef USE_BOOST_CONTEXT
#define BOOST_LIB_NAME boost_context
#include 
#endif

#ifdef USE_BOOST_COROUTINE
#define BOOST_LIB_NAME boost_coroutine
#include 
#endif

#ifdef USE_BOOST_DATE_TIME
#define BOOST_LIB_NAME boost_date_time
#include 
#endif

#ifdef USE_BOOST_FILESYSTEM
#define BOOST_LIB_NAME boost_filesystem
#include 
#endif

#ifdef USE_BOOST_GRAPH
#define BOOST_LIB_NAME boost_graph
#include 
#endif

#ifdef USE_BOOST_LOCALE
#define BOOST_LIB_NAME boost_locale
#include 
#endif

#ifdef USE_BOOST_LOG_SETUP
#define BOOST_LIB_NAME boost_log_setup
#include 
#endif

#ifdef USE_BOOST_LOG
#define BOOST_LIB_NAME boost_log
#include 
#endif

#ifdef USE_BOOST_MATH_C99F
#define BOOST_LIB_NAME boost_math_c99f
#include 
#endif

#ifdef USE_BOOST_MATH_C99L
#define BOOST_LIB_NAME boost_math_c99l
#include 
#endif

#ifdef USE_BOOST_MATH_C99
#define BOOST_LIB_NAME boost_math_c99
#include 
#endif

#ifdef USE_BOOST_MATH_TRI1F
#define BOOST_LIB_NAME boost_math_tr1f
#include 
#endif

#ifdef USE_BOOST_MATH_TRI1L
#define BOOST_LIB_NAME boost_math_tr1l
#include 
#endif

#ifdef USE_BOOST_MATH_TRI1
#define BOOST_LIB_NAME boost_math_tr1
#include 
#endif

#ifdef USE_BOOST_PRG_EXEC_MONITOR
#define BOOST_LIB_NAME boost_prg_exec_monitor
#include 
#endif

#ifdef USE_BOOST_PROGRAM_OPTIONS
#define BOOST_LIB_NAME boost_program_options
#include 
#endif

#ifdef USE_BOOST_PYTHON
#define BOOST_LIB_NAME boost_python
#include 
#endif

#ifdef USE_BOOST_RANDOM
#define BOOST_LIB_NAME boost_random
#include 
#endif

#ifdef USE_BOOST_REGEX
#define BOOST_LIB_NAME boost_regex
#include 
#endif

#ifdef USE_BOOST_SERIALIZATION
#define BOOST_LIB_NAME boost_serialization
#include 
#endif

#ifdef USE_BOOST_SIGNALS
#define BOOST_LIB_NAME boost_signals
#include 
#endif

#ifdef USE_BOOST_SYSTEM
#define BOOST_LIB_NAME boost_system
#include 
#endif

#ifdef USE_BOOST_THREAD
#define BOOST_LIB_NAME boost_thread
#include 
#endif

#ifdef USE_BOOST_TIMER
#define BOOST_LIB_NAME boost_timer
#include 
#endif

#ifdef USE_BOOST_TYPE_ERASURE
#define BOOST_LIB_NAME boost_type_erasure
#include 
#endif

#ifdef USE_BOOST_UNIT_TEST_FRAMEWORK
#define BOOST_LIB_NAME boost_unit_test_framework
#include 
#endif

#ifdef USE_BOOST_WAVE
#define BOOST_LIB_NAME boost_wave
#include 
#endif

#ifdef USE_BOOST_WSERIALIZATION
#define BOOST_LIB_NAME boost_wserialization
#include 
#endif

#ifdef USE_BOOST_ZLIB
#define BOOST_LIB_NAME boost_zlib
#include 
#endif

コメントはまだありません。