mniip
196371316d
Temporary workaround to allow compilation on MinGW
2018-05-10 20:40:25 +03:00
mniip
32aaafee94
Move data into either cpp files or const arrays
2018-05-08 07:38:55 +03:00
mniip
c0c550e920
Add a new font editor
2018-04-29 18:49:40 +03:00
jacob1
491d61a9ca
remove msvc "add virus" compile flag
2018-03-18 10:37:10 -04:00
jacob1
883484e2f9
remove -flto because it actually makes tpt significantly slower when compiled on the build server
...
worked fine on my computer, maybe something with the older gcc version? Affected both lin64 and lin32 versions. /LTGC works fine on msvc also, so stays enabled.
-flto can be added manually with environment variables for anyone that wants to use it
2018-03-01 23:52:17 -05:00
wolfy1339
a435b5f7b9
--sse3 doesn't work on MSVC, so don't let people use it
2018-02-24 18:24:28 -05:00
jacob1
39d62f1aad
add -flto (link time optimization)
...
msvc was already using /LTGC
also, add /GL to all files in msvc, may provide some additional help
2018-02-21 23:27:31 -05:00
jacob1
1237b49e37
allow compiling renderer with --msvc in scons
2018-02-11 14:47:36 -05:00
jacob1
887d60628d
use c++11, use unique_ptr in GameSave::SerializeOPS
2017-12-27 11:50:09 -05:00
wolfy1339
d7a27cc682
FreeBSD build fixes ( #517 )
2017-11-23 14:38:47 -05:00
jacob1
9c095ff3d7
don't use alternate PWT32_STATIC_LIB define in msvc either
2017-10-13 00:47:07 -04:00
jacob1
3c2de70564
fix compilation / ensure this check only runs when compiling on windows
2017-10-13 00:03:35 -04:00
wolfy1339
536b20b164
Fix pthread deprecation warning, fixes #502
2017-10-12 23:33:05 -04:00
jacob1
a97dad4db5
Mac luajit crash fix
...
Doesn't affect official because I added these flags properly before making SConscript do it
2017-10-09 00:12:26 -04:00
jacob1
940fa80047
revert 'Fix deprecation warnings from pthread ( #510 )' 7847a3ab11
...
not everyone will have the newer pthread and the deprecated define probably works on all versions of pthread
2017-10-07 17:45:28 -04:00
wolfy1339
b3ee23e45c
Fix errors when using --msvc ( #509 )
2017-10-07 17:32:04 -04:00
wolfy1339
7847a3ab11
Fix deprecation warnings from pthread ( #510 )
2017-10-07 17:31:35 -04:00
jacob1
1c275e943f
make print statements python 3 compatible
2017-10-03 21:14:16 -04:00
Dmitry Marakasov
fffe1b0c40
Fix SConscript syntax ( #507 )
2017-09-21 09:06:38 -04:00
jacob1
631570cbd0
mac luajit fix, version 92.5.336
2017-09-20 20:42:24 -04:00
jacob1
e458d675bf
Fix LINKFLAGS env variable being overwritten when compiling for OS X
2017-09-11 22:04:25 -04:00
jacob1
4f52d34a9d
copy STRIP env var into scons env var
...
TODO: an option to just copy everything, which is apparently needed on some platforms
2017-09-07 23:10:13 -04:00
jacob1
873c2230dc
add alternate luajit name (my own custom name), update readme date
2017-09-04 22:14:47 -04:00
jacob1
57e7196e56
fix sconscript fail
2017-02-20 19:20:21 -05:00
jacob1
9445c24611
prevent anti-virus false positives by changing compile options to more closely match default VS 2015 options
2017-01-21 00:49:59 -05:00
jacob1
22d6e23d36
fix icon with msvc, support windows xp (pls don't use windows xp though)
2016-11-02 00:01:39 -04:00
jacob1
8f78486e08
Fix --msvc sconscript option (did not work for debug or static builds)
2016-10-17 23:24:02 -04:00
Simon Robertshaw
4468462ce9
Sconscript: Symbols option when making optimised/release builds.
2016-07-12 22:34:03 +01:00
Simon Robertshaw
0cf117a5f0
Better hack for library checking on OS X
2016-07-11 23:30:11 +01:00
jacob1
e8817489be
these --static flags should be optional
2016-07-10 21:08:16 -04:00
jacob1
a8427ef33a
only use -Wno-unused-result on Linux, also actually fix the unused results that we could possibly care about
...
Fixes cross compilers, TODO: I don't think scons can check if a flag exists but might support adding a test for that, even if through hacky means, like CheckFramework
2016-04-26 23:55:14 -04:00
jacob1
6624550dc1
fix a ton of build server warnings (they were all the same)
2016-04-26 23:28:52 -04:00
jacob1
db9d7399d1
Use -O3 on all platforms again (mac crash is probably fixed -O2 causes false positives in AVG)
2016-03-27 23:18:13 -04:00
jacob1
9b8e6c0f8b
Remove -O3 on OS X, replace with -O2 for other platforms
2016-03-10 03:31:43 +00:00
jacob1
1daeca781e
compile with -DDEBUG when using --debugging sconscript flag
2016-03-07 21:22:29 -05:00
jacob1
1d295fbb36
OS X: check for SDL framework before SDL library
2016-01-26 05:35:16 +00:00
jacob1
de2f5fe36d
More mac compiling fixes that don't actually fix anything
2016-01-24 23:12:34 +00:00
jacob1
dfbfb459d1
Fix mac sdl compile (apparently it actually did need to run sdl-config)
2016-01-24 21:44:24 +00:00
jacob1
82257e5e39
don't run sdl-config when cross compiling for mac
...
I guess it should only be run when compiling for linux or cross compiling for windows
2016-01-24 15:54:43 -05:00
jacob1
a6f49adae2
look for normal SDL library before SDL framework on OS X
...
before it refused to even look for the library, it only checked for the framework
2016-01-24 15:42:37 -05:00
wolfy1339
a6f64055a3
SConscript: Fix some inconsistencies
2015-12-21 19:26:56 -05:00
jacob1
b80cc932d1
check for lib named 'lua' when using --lua52
2015-06-12 00:16:42 -04:00
jacob1
315b07c294
use -static-libstdc++ with --static, check for libdl on linux
2015-05-29 13:51:17 -04:00
jacob1
6c725cc405
fix some cross compiling setups
...
"i686-w64-mingw32" is actually a 32 bit compiler, and using --tool directly didn't update path before
2015-05-26 00:09:09 -04:00
Aditya Vaidya
13cc593d13
Fixed most spelling errors in code. 'originaly' is read as 'original Y', so not a typo
2015-05-18 15:16:01 -05:00
wolfy1339
6606d72df0
Fix compiling on Windows
2015-03-16 20:00:55 -04:00
mniip
1eb8940c9a
Fix LUA_R_INCL not being used on linux
2015-03-06 00:17:25 +03:00
jacob1
316d0f1ace
--luajit and --lua52 compile options
...
no longer looks for lua 5.2 unless you tell it to
2015-02-13 18:20:52 -05:00
jacob1
62040154d9
--luajit option (only tested on Linux for now)
2015-02-06 23:11:54 -05:00
jacob1
b1a3c404b6
fix platform / sconscript flag specific warnings, --no-warnings no longer defaults to true
2015-01-16 23:39:42 -05:00