forked from enewhuis/liquibook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary includes of order.h. Add a placeholder main.cpp to…
… keep MPC/Visual Studio happy.
- Loading branch information
Dale Wilson
committed
Feb 21, 2017
1 parent
1bd0d00
commit 492c842
Showing
6 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
project (liquibook): liquibook_exe { | ||
exename = * | ||
Header_files { | ||
*.h | ||
} | ||
Source_Files { | ||
*.cpp | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include <iostream> | ||
#include "version.h" | ||
|
||
#include "depth_order_book.h" | ||
#include "order.h" | ||
|
||
using namespace liquibook; | ||
using namespace book; | ||
namespace | ||
{ | ||
// depth order book pulls in all the other header files. | ||
// except order.h which is actually a concept. | ||
DepthOrderBook<Order *, 5> unusedDepthOrderBook_; | ||
} | ||
|
||
int main(int, const char**) | ||
{ | ||
std::cout << "Liquibook version " << Version::MAJOR << '.' << Version::MINOR << '.' << Version::PATCH | ||
<< " (" << Version::RELEASE_DATE << ")\n"; | ||
std::cout << "Liquibook is a header-only library.\n\n"; | ||
std::cout << "This executable is a placeholder to make the book header files visible in\n"; | ||
std::cout << "Visual Studio. It also forces the compiler to do syntax checking of the header\n"; | ||
std::cout << "files at build time." << std::endl; | ||
return 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
#pragma once | ||
|
||
#include "types.h" | ||
#include "order.h" | ||
|
||
namespace liquibook { namespace book { | ||
|
||
|