aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/std_call_once_bug/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 06:48:51 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-30 06:48:51 +0300
commitcbb45d7c46dd3ef4060f16cc3d62dc37fd759909 (patch)
treeea27859fee152dbfa08aa40565c7f42f10ae7b48 /std_call_once_bug/README.md
parentadd README (diff)
downloadblog-cbb45d7c46dd3ef4060f16cc3d62dc37fd759909.tar.gz
blog-cbb45d7c46dd3ef4060f16cc3d62dc37fd759909.zip
import std_call_once_bug/ from gh-pages
I rewrote this repository's history completely in an attempt to organize things properly. One of those things is moving code to master. I couldn't figure out how to preserve the history though. Luckily, it's a very small code sample.
Diffstat (limited to '')
-rw-r--r--std_call_once_bug/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/std_call_once_bug/README.md b/std_call_once_bug/README.md
new file mode 100644
index 0000000..c42f191
--- /dev/null
+++ b/std_call_once_bug/README.md
@@ -0,0 +1,27 @@
+std::call_once bug in Visual C++ 2012/2013
+==========================================
+
+Code samples from the post "std::call_once bug in Visual C++ 2012/2013".
+
+Building
+--------
+
+Create the build files using CMake and build using your native build tools
+(Visual Studio/make/etc.).
+
+In the example below, the project directory is
+"C:\workspace\personal\cpp-notes" and Visual Studio 2013 is used, targeting
+x86.
+
+ > cmake -G "Visual Studio 12 2013" C:\workspace\personal\cpp-notes\std_call_once_bug
+ ...
+
+ > cmake --build . --config release
+ ...
+
+See also
+--------
+
+* [License]
+
+[License]: ../README.md#license