[baseline][quickfix] Don't build tests (#23945)

* [quickfix] Don't build tests

* version
This commit is contained in:
Thomas1664 2022-04-06 23:40:17 +02:00 committed by GitHub
parent baae2dd60b
commit eaed2c31f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 7 deletions

View File

@ -1,8 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48908ead..5022a019 100644
index 48908ead..90c17759 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,9 +96,12 @@ add_subdirectory(UnitTest++)
@@ -92,13 +92,13 @@ include_directories(${PYTHON_INCLUDE_DIRS})
endif ()
if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
-add_subdirectory(UnitTest++)
+#add_subdirectory(UnitTest++)
endif()
add_subdirectory(src)
@ -11,12 +16,21 @@ index 48908ead..5022a019 100644
if( WIN32)
-add_subdirectory(test)
+#add_subdirectory(test)
+target_compile_definitions(TestUnitTest++ PRIVATE _CRT_SECURE_NO_WARNINGS)
+target_compile_definitions(UnitTest++ PRIVATE _CRT_SECURE_NO_WARNINGS)
+target_compile_definitions(ut PRIVATE _WINSOCK_DEPRECATED_NO_WARNINGS)
endif()
install(DIRECTORY ${CMAKE_SOURCE_DIR}/spec/ DESTINATION share/quickfix
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cb4a60c6..d21fa995 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,6 @@
add_subdirectory(C++)
-if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
+if(0)
add_executable(at at.cpp getopt.c)
diff --git a/src/C++/CMakeLists.txt b/src/C++/CMakeLists.txt
index 07774c97..27692631 100644
--- a/src/C++/CMakeLists.txt

View File

@ -1,7 +1,7 @@
{
"name": "quickfix",
"version": "1.15.1",
"port-version": 6,
"port-version": 7,
"description": "QuickFIX is a free and open source implementation of the FIX protocol.",
"homepage": "https://github.com/quickfix/quickfix",
"supports": "!uwp",

View File

@ -6002,7 +6002,7 @@
},
"quickfix": {
"baseline": "1.15.1",
"port-version": 6
"port-version": 7
},
"quill": {
"baseline": "1.6.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "73e9e7e7bcc08f6f0f491d68cd2ff93f5571353f",
"version": "1.15.1",
"port-version": 7
},
{
"git-tree": "a9ec8c3d5dfd310a3f5d5c54bebc6030b4cad0c6",
"version": "1.15.1",