-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
win support #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
win support #329
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
be16bb5
build for win
haiyangwu e9ee7c3
code style
haiyangwu 27c1307
code style
haiyangwu f2b060e
scripts
haiyangwu 8de983a
replace duplex pipe with two pipe
haiyangwu 3e57e56
code style
haiyangwu 12b6a3c
add explicit key word
haiyangwu 283351a
move getopt to deps
haiyangwu 9cd71b3
Merge remote-tracking branch 'versatica/v3' into v3. Fix typo
haiyangwu a15863c
single quotes
haiyangwu b86a32f
pyc explicit path
haiyangwu 9a66008
delete unused dep
haiyangwu c20fb5b
log text & code style
haiyangwu 850761f
rename SocketRole to role
haiyangwu 6a1a927
log text & code style
haiyangwu af693c4
replace _MSC_VER with _WIN32 for better compatibility
haiyangwu d3f3a4c
add public keyword to separate method and var
haiyangwu cbc1b1d
Generate sln under worker directory for unifying test:woker logic
haiyangwu e489d3b
add "getopt" entry in worker/scripts/get-dep.sh
haiyangwu 793900d
code style
haiyangwu 3585288
add comment for skipping test case in win32
haiyangwu 14a38ba
move gulp-clang-format into devDep
haiyangwu cac00ed
unify name
haiyangwu 3dbf56d
change for lint
haiyangwu 4f10db0
use run-script-os instead of gulp
haiyangwu 174c1dd
use @dr.amaton/run-script-os instead of a git repo
haiyangwu 7b20534
win tasks
haiyangwu e70535c
remove useless tasks
haiyangwu a4bed7d
run mediasoup-worker-test
haiyangwu e566abe
add win-tasks.js to lint
haiyangwu cda5e7e
code style
haiyangwu 6885c44
code style and readability
haiyangwu b6775ab
code style
haiyangwu faa375f
code style
haiyangwu 6578c6b
remove duplicated LF
haiyangwu 6fbcc2a
wrap consumer socket and producer socket
haiyangwu d0a9005
gitignore
haiyangwu 36e2b4c
code style
haiyangwu bbdae70
add virtual destructor
haiyangwu 3dddc43
Merge remote-tracking branch 'versatica/devel' into v3
haiyangwu 7ac3a99
add defines for abseil
haiyangwu 461e7a5
include
haiyangwu 96a62bd
Merge remote-tracking branch 'versatica/devel' into v3
haiyangwu 62aeb29
dot at the end of the comment
haiyangwu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,22 @@ | ||
{ | ||
'targets': | ||
[ | ||
{ | ||
'target_name': 'getopt', | ||
'type': 'static_library', | ||
'sources': | ||
[ | ||
'getopt/src/getopt.h', | ||
'getopt/src/getopt.c' | ||
], | ||
'include_dirs': | ||
[ | ||
'getopt/src/' | ||
], | ||
'direct_dependent_settings': | ||
{ | ||
'include_dirs': ['getopt/src/'] | ||
}, | ||
} | ||
] | ||
} |
This file contains hidden or 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,8 @@ | ||
CMakeCache.txt | ||
CMakeFiles | ||
Makefile | ||
cmake_install.cmake | ||
install_manifest.txt | ||
build | ||
*.lib | ||
*.pdb |
This file contains hidden or 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,23 @@ | ||
PROJECT(wingetopt) | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
option(BUILD_SHARED_LIBS "Build the shared library" OFF) | ||
|
||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) | ||
|
||
add_definitions(-D_CRT_SECURE_NO_WARNINGS) | ||
|
||
if(BUILD_SHARED_LIBS) | ||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) | ||
add_definitions(-DBUILDING_WINGETOPT_DLL -DWINGETOPT_SHARED_LIB) | ||
endif() | ||
|
||
add_library(wingetopt src/getopt.c src/getopt.h) | ||
|
||
install(FILES src/getopt.h DESTINATION include) | ||
|
||
install(TARGETS wingetopt | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib) | ||
|
This file contains hidden or 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,54 @@ | ||
#### AUTHORS: | ||
|
||
* Todd C. Miller <[email protected]> | ||
* The NetBSD Foundation, Inc. | ||
* Alexei Kasatkin is the author of trivial CMakeLists.txt, build script itself is Public Domain | ||
|
||
#### LICENSE | ||
|
||
Copyright (c) 2002 Todd C. Miller <[email protected]> | ||
|
||
Permission to use, copy, modify, and distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
Sponsored in part by the Defense Advanced Research Projects | ||
Agency (DARPA) and Air Force Research Laboratory, Air Force | ||
Materiel Command, USAF, under agreement number F39502-99-1-0512. | ||
|
||
*** | ||
|
||
Copyright (c) 2000 The NetBSD Foundation, Inc. | ||
All rights reserved. | ||
|
||
This code is derived from software contributed to The NetBSD Foundation | ||
by Dieter Baron and Thomas Klausner. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | ||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | ||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. |
This file contains hidden or 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,63 @@ | ||
# wingetopt | ||
|
||
getopt library for Windows compilers | ||
|
||
|
||
This library was created to allow compilation linux-based software on Windows. | ||
http://en.wikipedia.org/wiki/Getopt | ||
|
||
The sources were taken from MinGW-runtime project. | ||
|
||
#### AUTHORS: | ||
|
||
* Todd C. Miller <[email protected]> | ||
* The NetBSD Foundation, Inc. | ||
|
||
#### LICENSE | ||
|
||
Copyright (c) 2002 Todd C. Miller <[email protected]> | ||
|
||
Permission to use, copy, modify, and distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
||
Sponsored in part by the Defense Advanced Research Projects | ||
Agency (DARPA) and Air Force Research Laboratory, Air Force | ||
Materiel Command, USAF, under agreement number F39502-99-1-0512. | ||
|
||
*** | ||
|
||
Copyright (c) 2000 The NetBSD Foundation, Inc. | ||
All rights reserved. | ||
|
||
This code is derived from software contributed to The NetBSD Foundation | ||
by Dieter Baron and Thomas Klausner. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | ||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | ||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.