Note: This is a translation of the document contributed by Abit More. The original can be found here:
Compile BitShares-Core with Visual Studio 2015
- Environmental preparation
- 64-bit Windows systems, such as Windows Server 2012 R2 Standard edition
CC=g++ | |
CFLAGS=-g | |
DEPS= | |
%.o: %.cpp $(DEPS) | |
$(CC) -c -o $@ $< $(CFLAGS) | |
test_threadsafe: test_threadsafe.o | |
$(CC) -g -O0 -lSegFault -o test_threadsafe $^ -lpthread -rdynamic |
/* | |
* Copyright (c) 2018 Bitshares Foundation, and contributors. | |
* | |
* The MIT License | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
#include <iostream> | |
#include <map> | |
#include <algorithm> | |
#include <functional> | |
#include <memory> | |
using namespace std; | |
/*** | |
* A base class for event arguments |
I hereby claim:
To claim this, I am signing this object: