Chris Marsh
8307a1ad83
Update readme
2017-11-29 10:36:14 -08:00
Chris Marsh
8af28e46be
Disable code formatting on CI builds.
2017-11-29 09:50:30 -08:00
Michał Janiszewski
2af5adca3d
Use simpler version of GetModuleFileNameW
...
As per
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683198(v=vs.85).aspx ,
the advised use for getting the file name of a module from `<current
process>` is to use the simplified version. Additionally, this clears
the confusion introduced in Win7's PSAPI which moved
`GetModuleFileNameExW` into the kernel, changing its signature to
`K32GetModuleFileNameExW`, effectively breaking pre-Win7 uses unless
actively mitigated with `#define PSAPI_VERSION 1`
2017-11-29 08:08:47 -08:00
Chris Marsh
7300d1caa8
wip build script, playing with buildkite logging
2017-11-28 10:58:10 -08:00
Chris Marsh
7c3e28870e
wip more build script, add signing
2017-11-28 10:27:40 -08:00
Chris Marsh
9130707086
Wrap std::thread in a holder that joins it on destruction.
2017-11-28 09:16:00 -08:00
Chris Marsh
49b23040c6
wip updating build script
2017-11-22 16:12:37 -08:00
Hunter
522c304b32
Change appveyor artifacts
2017-11-22 08:51:37 -08:00
Kia
5d5bc82e26
Moved generated.h include to last position as it is required by UE4.
2017-11-19 17:26:33 -08:00
Michał Janiszewski
49b7703334
Skip formatting on Travis
2017-11-17 10:53:59 -08:00
Michał Janiszewski
706847dd47
Add Xcode
2017-11-17 10:53:59 -08:00
Michał Janiszewski
2c566b208b
Add clang 5
2017-11-17 10:53:59 -08:00
Michał Janiszewski
95be02d4ce
Add Travis CI support
2017-11-17 10:53:59 -08:00
Chris Marsh
c834a2e6d9
Thanks, paranoia
2017-11-17 09:15:24 -08:00
Chris Marsh
6a963456ed
Thanks, Danny.
2017-11-17 09:13:22 -08:00
Michał Janiszewski
c5d3481c47
Add GNUInstallDirs include to top-level CMakeLists
2017-11-16 09:03:17 -08:00
Michał Janiszewski
2b248a6cef
Don't use hardcoded paths for installation targets
2017-11-16 09:03:17 -08:00
Ted John
c9cf6b3f41
Move /MT directive to MSVC only
2017-11-16 09:03:17 -08:00
Ted John
704c56d13f
Add option for building with /MT
2017-11-16 09:03:17 -08:00
Ted John
5085d23dd1
Improve cmakelists for vcpkg building
...
- Remove forced /MT directive.
- Allow building for debug.
- Add option to prevent building of example apps.
2017-11-16 09:03:17 -08:00
Michał Janiszewski
1675d5d2dc
Provide link to info about BUILD_SHARED_LIBS
2017-11-15 11:35:55 -08:00
Hunter
bf6e0fddd5
Update appveyor.yml
2017-11-15 09:31:21 -08:00
judge2020
18f6d878e0
Fix appveyor build
2017-11-15 09:31:21 -08:00
Hunter
364606f7e9
Create Appveyor config for automated CI testing
2017-11-15 09:31:21 -08:00
Michał Janiszewski
b206dd44f0
Use -fPIC option when building shared libs
2017-11-15 09:22:07 -08:00
Michał Janiszewski
d121bbe709
Use cmake-standard flag BUILD_SHARED_LIBS
...
This removes custom `BUILD_DYNAMIC_LIB` option and replaces it with a
standard BUILD_SHARED_LIBS:
https://cmake.org/cmake/help/v3.7/variable/BUILD_SHARED_LIBS.html
Although not mentioned in the documentation there, this flag is
implicitly available.
2017-11-15 09:22:07 -08:00
Michał Janiszewski
cfd6470946
Add a comment explaining WINVER macros for MinGW
2017-11-15 08:20:48 -08:00
Michał Janiszewski
f22f299330
Fix mingw builds
2017-11-15 08:20:48 -08:00
Mason Sciotti
767b15184f
What's build.py for
2017-11-14 20:40:32 -08:00
Chris Marsh
6e744d228f
Update to clang-format 6, specify all the options, turn off sort includes.
2017-11-13 10:50:37 -08:00
Michał Janiszewski
a1ab6c96f2
Fix unused result
2017-11-13 10:38:18 -08:00
Max Kamps
0ea7ddbd5a
Fix CMake issue when ENABLE_IO_THREAD=OFF ( #28 )
...
This was probably just a typo.
2017-11-13 08:01:58 -08:00
Chris Marsh
2f54e62c23
fix include order
2017-11-10 13:14:00 -08:00
Ivan Molodetskikh
54abef2624
Fix unused parameter warning triggering
2017-11-10 09:59:51 -08:00
Ivan Molodetskikh
c5d70514ac
Use steam://rungameid/
2017-11-10 09:59:51 -08:00
Ivan Molodetskikh
57316cbaee
clang-format I suppose
2017-11-10 09:59:51 -08:00
Kia
9d4d145e7f
Add entry for include folder where you have to place discord-rpc.h
2017-11-10 08:13:01 -08:00
Chris Marsh
7dc663a170
Static link crt
2017-11-09 14:24:30 -08:00
Gus Caplan
f872b4e49c
fix event names and add ACTIVITY_JOIN_REQUEST ( #10 )
...
* fix event names and add ACTIVITY_JOIN_REQUEST
* Update hard-mode.md
* fix typo
2017-11-09 13:32:17 -08:00
ArsenArsen
ca5d70a5f9
Add more -Wflags
2017-11-09 13:08:05 -08:00
ArsenArsen
ee9c504d1c
Change -Weverything to -Wall for more compilers
2017-11-09 13:08:05 -08:00
Mason Sciotti
127eadcb89
Added VS2015 C++ redist dependency info
2017-11-07 09:59:04 -08:00
Chris Marsh
a7808a20ed
Fix some sizes on join request strings.
2017-11-03 13:40:30 -07:00
Chris Marsh
3bdb88d918
Unity ajt fix
2017-11-02 11:59:45 -07:00
Chris Marsh
aa79c70bf9
Adding MIT license.
2017-11-01 15:25:14 -07:00
Chris Marsh
a089aab53e
Update unity.
2017-10-17 13:34:03 -07:00
Mason Sciotti
dafd85c39f
Rename avatarUrl
-> avatar
for API consistency
2017-10-17 13:34:03 -07:00
SK83RJOSH
b1d6a7c0fc
Normalize white-space
2017-10-17 09:37:56 -07:00
SK83RJOSH
e4b3ef63b7
Added request to join functionality
2017-10-17 09:37:56 -07:00
Chris Marsh
86ca320cb9
These should have been extern C.
2017-10-13 10:02:12 -07:00