<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tt_clown</author_name>
  <author_url>https://blog.hatena.ne.jp/tt_clown/</author_url>
  <blog_title>Cube Lilac</blog_title>
  <blog_url>https://clown.cube-soft.jp/</blog_url>
  <categories>
    <anon>Development</anon>
    <anon>C++</anon>
  </categories>
  <description>リンク無しでテスト用のソースファイルが複数ある状況でビルドしようとしたら嵌ったお話。先日、ユニットテストについての講義をする際に「取りあえず Boost.Test を使ってみましょう」と言うことで、リンク（≒ Boost をビルド）しなくても良い boost/test/included/unit_test.hpp を使おうとしたのですが、以下のようなリンクエラーが出力されました（Visual C++ 2012）。 error LNK2005: &quot;public: __thiscall boost::unit_test::ut_detail::auto_test_unit_registrar::a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fclown.cube-soft.jp%2Fentry%2F20131011%2Fboost_test_included&quot; title=&quot; Boost.Test (boost/test/included/unit_test.hpp) の使い方 - Cube Lilac&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-11 00:00:00</published>
  <title> Boost.Test (boost/test/included/unit_test.hpp) の使い方</title>
  <type>rich</type>
  <url>https://clown.cube-soft.jp/entry/20131011/boost_test_included</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
