-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from uilianries/quickfix
Simplify quickfix recipe
- Loading branch information
Showing
5 changed files
with
66 additions
and
55 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
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,39 @@ | ||
diff --git a/include/Except.h b/include/Except.h | ||
new file mode 100644 | ||
index 0000000..fded28e | ||
--- /dev/null | ||
+++ b/include/Except.h | ||
@@ -0,0 +1,33 @@ | ||
+/* -*- C++ -*- */ | ||
+ | ||
+/**************************************************************************** | ||
+** Copyright (c) 2001-2014 | ||
+** | ||
+** This file is part of the QuickFIX FIX Engine | ||
+** | ||
+** This file may be distributed under the terms of the quickfixengine.org | ||
+** license as defined by quickfixengine.org and appearing in the file | ||
+** LICENSE included in the packaging of this file. | ||
+** | ||
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
+** | ||
+** See http://www.quickfixengine.org/LICENSE for licensing information. | ||
+** | ||
+** Contact ask@quickfixengine.org if any conditions of this licensing are | ||
+** not clear to you. | ||
+** | ||
+****************************************************************************/ | ||
+ | ||
+#ifndef FIX_EXCEPT_H | ||
+#define FIX_EXCEPT_H | ||
+ | ||
+#ifdef __cpp_noexcept_function_type | ||
+#define NOEXCEPT noexcept | ||
+#define EXCEPT(...) noexcept(false) | ||
+#else | ||
+#define NOEXCEPT throw() | ||
+#define EXCEPT(...) throw(__VA_ARGS__) | ||
+#endif | ||
+ | ||
+#endif |
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 |
---|---|---|
@@ -1,15 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.16 FATAL_ERROR) | ||
cmake_minimum_required(VERSION 2.8.11) | ||
project(PackageTest CXX) | ||
|
||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | ||
conan_basic_setup() | ||
|
||
add_executable(executor ${PROJECT_SOURCE_DIR}/executor.cpp) | ||
|
||
target_link_libraries(executor ${CONAN_LIBS}) | ||
|
||
# CTest is a testing tool that can be used to test your project. | ||
# enable_testing() | ||
# add_test(NAME example | ||
# WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin | ||
# COMMAND example) |
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