Commit Graph

28 Commits

Author SHA1 Message Date
Steven Noonan 8d492c85c1 README: add instructions for building under MSYS2
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-03 09:01:24 -07:00
Steven Noonan 5894bae195 meson: use top-level directory for main meson.build file
It makes more sense to have a top-level meson.build file, for any
projects that want to use this as a subproject.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-03 08:42:14 -07:00
Steven Noonan 913d3e2454 README: use clearer build directions and fix Ubuntu version number
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 15:17:44 -07:00
Steven Noonan 3f52f267de remove broken Visual Studio solution/projects
Going to be making the build system generate these soonish.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 14:28:33 -07:00
Steven Noonan 9f65f18fbc minbase_types.h: fix typo for __MINGW32__ macro
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 14:05:14 -07:00
Fletcher Dunn 3245e359c5 Delete another unused file 2018-04-02 13:49:25 -07:00
Fletcher Dunn 3d5b59974b Delete hashmap and bitstring files.
They are only used by the SDR connection source files, which aren't part of the opensource distribution.
2018-04-02 13:46:30 -07:00
Steven Noonan 7f92f7c4dc disable exceptions and rtti
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:40:26 -07:00
Steven Noonan baf230b70d minbase_types.h: unbreak build on Linux
I really wish this header didn't exist.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:40:00 -07:00
Steven Noonan 77542b8213 meson.build: turn on -Wall
Doesn't seem to add any warnings right now. -Wextra does, though, and
there's a ton of them. Need to run through those and see if there's
anything we care about.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:29:48 -07:00
Steven Noonan 7c02270aab steamnetworkingsockets_lowlevel: set thread priority on MinGW as well
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:23:03 -07:00
Steven Noonan 1013eb5c68 eliminate some unused static variables
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:20:34 -07:00
Steven Noonan 457ce8ea7a meson.build: set default build type to "debugoptimized"
We should build with optimizations and debug info by default.

Ref: http://mesonbuild.com/Running-Meson.html#configuring-the-source
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:18:36 -07:00
Steven Noonan 7db463285b MinGW build fixes
These changes compile and link, but they probably crash or something
right now. We need to get a unit test or three into the repo so we can
vet changes like this.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 13:13:01 -07:00
Fletcher Dunn dc6fcbc2cf Delete CUtlString and CUtlStringBuilder, use std::string everywhere. 2018-04-02 12:51:24 -07:00
Fletcher Dunn 3b08948e63 Merge branch 'master' of github.com:ValveSoftware/GameNetworkingSockets 2018-04-02 12:12:32 -07:00
Fletcher Dunn e1f264a6a0 Stub stuff using #ifdef instead of just commenting it out.
Useful to keep code in sync with main steam branch.
2018-04-02 12:11:42 -07:00
Steven Noonan bdc6f9aefe meson: only link in libcrypto instead of all of openssl
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
2018-04-02 11:01:06 -07:00
Fletcher Dunn 1ce0d86833 Stub out a bunch of unneeded OpenSSL stuff in the most brutal, ugly way imaginable.
A lot of this could probably be detected by linker dead code elimination, but I suspect that some of the actual SSL connection stuff could not.
It's pretty gross to have giant blocks of comment out code, yes I know, but this makes it easier to keep in sync with the private Steam codebase.
2018-04-02 10:25:21 -07:00
Fletcher Dunn 4553d88778 Remove uson, since it isn't actually needed.
It was needed to parse the SDR network config.  But the opensource code doesn't need the config since it doesn't support relaying.
2018-04-02 09:49:18 -07:00
Fletcher Dunn 5720142f2a Fix typo in README and added some notes about encryption 2018-03-30 13:52:44 -07:00
Fletcher Dunn 0b210bafa7 Merge branch 'master' of https://github.com/ValveSoftware/GameNetworkingSockets 2018-03-30 13:39:31 -07:00
Fletcher Dunn 954e7f1d26 Add meson build file, which was mistakenly omitted from initial comit.
Move truly "public" headers to an "include" folder.  The internal "public" directory contains files that are only "public" in the context of the Steam build environment.
2018-03-30 13:36:41 -07:00
Fletcher Dunn 870b41ef25 Merge pull request #4 from Poliwrath/master
Fix a typo on README
2018-03-30 13:25:11 -07:00
Nintendo White b5faa693cb Fix a typo on README 2018-03-30 14:34:20 -04:00
Fletcher Dunn 646a3a53fb Initial checkin. There's a lot of work that needs to be done to make this more open-source friendly, especially on Windows. The README has notes on the known shortcomings and what should be coming soon. 2018-03-30 10:55:48 -07:00
Fletcher Dunn ad0037a60b Placeholder README and updated license. 2018-03-22 20:24:48 -07:00
Fletcher Dunn 8e9ec6f4a0 Initial commit 2018-03-21 11:43:21 -07:00