-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
153 changed files
with
1,413 additions
and
1,081 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/cmake_include/ConfigureCompileFlags.cmake b/cmake_include/ConfigureCompileFlags.cmake | ||
index 63bdfec..80879f9 100644 | ||
--- a/cmake_include/ConfigureCompileFlags.cmake | ||
+++ b/cmake_include/ConfigureCompileFlags.cmake | ||
@@ -25,7 +25,6 @@ if(UNIX) | ||
set(build_flags_COMMON_LIST | ||
${build_flags_COMMON_LIST} | ||
"-Weverything" | ||
- "-Werror" | ||
"-Wno-c++98-compat" | ||
"-Wno-c++98-compat-pedantic" | ||
"-Wno-deprecated" | ||
@@ -44,7 +43,6 @@ if(UNIX) | ||
elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) | ||
set(build_flags_COMMON_LIST | ||
${build_flags_COMMON_LIST} | ||
- "-Werror" | ||
"-Wno-multichar" | ||
) | ||
endif() | ||
@@ -87,7 +85,6 @@ elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC) | ||
${build_flags_COMMON_LIST} | ||
"/MP" | ||
"/Wall" | ||
- "/WX" | ||
"/EHsc" | ||
|
||
############################# |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "ace", | ||
"version": "7.0.11", | ||
"port-version": 1, | ||
"maintainers": "Johnny Willemsen <[email protected]>", | ||
"description": "The ADAPTIVE Communication Environment", | ||
"homepage": "https://github.com/DOCGroup/ACE_TAO", | ||
|
@@ -16,7 +17,8 @@ | |
"description": "The ACE ORB" | ||
}, | ||
"wchar": { | ||
"description": "Enable extra wide char functions in ACE" | ||
"description": "Enable extra wide char functions in ACE", | ||
"supports": "!osx" | ||
}, | ||
"xml": { | ||
"description": "Enable XML features in ACE" | ||
|
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,42 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 8a4bd5b..7dc50f1 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -9,6 +9,7 @@ endif(COMMAND cmake_policy) | ||
|
||
OPTION( HAVE_GETOPT_H "Have the getopt library" 0 ) | ||
IF( HAVE_GETOPT_H ) | ||
+ find_package(unofficial-getopt-win32 REQUIRED) | ||
ADD_DEFINITIONS( -DHAVE_GETOPT_H ) | ||
ENDIF( HAVE_GETOPT_H ) | ||
|
||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index 03e112c..8c58082 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -1,7 +1,12 @@ | ||
include(GNUInstallDirs) | ||
|
||
IF( WIN32 ) | ||
+ if(HAVE_GETOPT_H) | ||
+ ADD_LIBRARY( argtable2 arg_dbl.c arg_end.c arg_file.c arg_int.c arg_lit.c arg_rem.c arg_str.c argtable2.c argtable2.h) | ||
+ target_link_libraries(argtable2 PRIVATE unofficial::getopt-win32::getopt) | ||
+ else() | ||
ADD_LIBRARY( argtable2 arg_dbl.c arg_end.c arg_file.c arg_int.c arg_lit.c arg_rem.c arg_str.c argtable2.c argtable2.h getopt.c getopt.h getopt1.c ) | ||
+ endif() | ||
ELSE( WIN32 ) | ||
ADD_LIBRARY( argtable2 arg_date.c arg_dbl.c arg_end.c arg_file.c arg_int.c arg_lit.c arg_rem.c arg_rex.c arg_str.c argtable2.c argtable2.h getopt.c getopt.h getopt1.c ) | ||
ENDIF( WIN32 ) | ||
diff --git a/src/argtable2.c b/src/argtable2.c | ||
index c4d210c..1bc0a3e 100644 | ||
--- a/src/argtable2.c | ||
+++ b/src/argtable2.c | ||
@@ -46,7 +46,7 @@ USA. | ||
#endif | ||
|
||
#include "argtable2.h" | ||
-#include "./getopt.h" | ||
+//#include "./getopt.h" | ||
|
||
static | ||
void arg_register_error(struct arg_end *end, void *parent, int error, const char *argval) |
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 |
---|---|---|
@@ -1,8 +1,19 @@ | ||
{ | ||
"name": "argtable2", | ||
"version-string": "2.13", | ||
"port-version": 9, | ||
"version": "2.13", | ||
"port-version": 10, | ||
"description": "Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss.", | ||
"homepage": "http://argtable.sourceforge.net", | ||
"supports": "!uwp" | ||
"license": "LGPL-2.0-only", | ||
"supports": "!uwp", | ||
"dependencies": [ | ||
{ | ||
"name": "getopt", | ||
"platform": "windows & !mingw" | ||
}, | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
] | ||
} |
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,16 @@ | ||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index 2e0b519..6b455dd 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -79,6 +79,11 @@ endif() | ||
add_library(${ARGTABLE3_PROJECT_NAME}::argtable3 ALIAS argtable3) | ||
target_include_directories(argtable3 PRIVATE ${PROJECT_SOURCE_DIR}/src) | ||
|
||
+if(NOT ARGTABLE3_REPLACE_GETOPT) | ||
+ find_package(unofficial-getopt-win32 REQUIRED) | ||
+ target_link_libraries(argtable3 PRIVATE unofficial::getopt-win32::getopt) | ||
+endif() | ||
+ | ||
set_target_properties(argtable3 PROPERTIES | ||
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} | ||
SOVERSION ${PROJECT_VERSION_MAJOR} |
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
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,16 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index a1a7964..7a5b1a5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -293,9 +293,9 @@ if (CMAKE_BUILD_TYPE STREQUAL "" OR CMAKE_BUILD_TYPE MATCHES Debug) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DDEBUG_BUILD") | ||
#set extra warning flags for debug build | ||
if (MSVC) | ||
- target_compile_options(${PROJECT_NAME} PRIVATE /W4 /WX /wd4068) | ||
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4068) | ||
else () | ||
- target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic -Werror) | ||
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic) | ||
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.