Commit Graph

50 Commits

Author SHA1 Message Date
Emilio López
51aae62dcb Move luasocket from being a static lib to a binary module 2018-03-30 12:37:25 +01:00
Emilio López
b1f352bf67 Embed luasocket as a static library
Add mobdebug lua script to allow debugging premake with ZeroBrane Studio
Add --debugger command line option to enable debugging
2018-03-17 14:47:40 +00:00
Tom van Dijck
5f57b5d62a add 64-bit support on windows
- on other platforms we already just get what is native to that platform.
- also removed some useless other settings.
2017-11-30 09:46:56 -08:00
Tom van Dijck
bf4c71e8ba Fixes translateCommandsAndPaths, and debugargs. 2017-11-30 09:25:11 -08:00
Tom van Dijck
9f33db3ba7 Allow embedding of binary resources. 2017-08-04 09:22:57 -07:00
Tom van Dijck
36f835f313 Proof of concept for binary modules. 2017-07-04 19:19:23 -07:00
Tom van Dijck
b4c4c4e614 Allow modules to register C code too.
only works for embedded modules.
2017-06-21 13:30:38 -07:00
Tom van Dijck
7b9ff9f840 Update to Lua 5.3.4 2017-06-19 12:11:49 -07:00
Jason Perkins
d1f5c333b0 Clean up the deprecated APIs
- Add "Use … instead." messages to any deprecations that did not have one
- Change deprecation date on APIs without a message to current date
- Remove APIs that have been deprecated for more than a year

h/t to @samsinsane for original PR on which this is based (#741)
2017-04-13 15:37:49 -04:00
Jusonex
b0a8186b0d Don't build and link mbedtls on Windows/Mac 2017-03-09 20:07:32 +01:00
Jusonex
386a7f0ab2 Fix failing 'https_get_verify_peer' test on Mac 2017-03-09 12:42:34 +01:00
Justin O'Dell
7bad45325f Windows Registry
- Added a new os command `getreg` which takes a registry path and returns the value or nil
2016-12-28 07:43:54 -08:00
Tom van Dijck
9a0b279a27 Update curl and use mbedtls instead of openssl. 2016-08-30 10:07:30 -07:00
Jason Perkins
d304c05856 Put back the old Symbols flag, until everyone has a chance to catch up with the new APIs. 2016-07-22 10:05:55 -04:00
David Ely
d3d8269e7a symbols api introduced and working, with tests. 2016-07-19 16:29:26 +10:00
Jason Perkins
b240131d09 Split test declarations and stubs out into their own files; improve encapsulation a bit 2016-05-18 15:56:04 -04:00
Jason Perkins
e0e988eccb Move testing framework into a core module 2016-05-16 16:32:35 -04:00
neico
f83a1aea7e migrated "configuration" to "filter", resolves #462 2016-04-07 01:01:22 +02:00
Samuel Surtees
1d2ff195bf Merge pull request #437 from Blizzard/debugargs-fix
Debugargs/debugdir fix.
2016-02-27 19:08:59 +10:00
Tom van Dijck
d7581b6dae Move lua into 'contrib' folder, and build as any other 3rd party lib. 2016-02-25 15:39:49 -08:00
Tom van Dijck
74adb3e727 Final debugargs/debugdir fix. 2016-02-25 14:22:07 -08:00
Jason Perkins
eaeba51b4e Use %{prj.location} to make new debug settings more portable 2016-02-25 15:21:25 -05:00
Tom van Dijck
1410c55af7 debugargs & debugdir defaults for convenient debugging. 2016-02-25 10:43:21 -08:00
Tom van Dijck
aed7334237 clean up the build settings a little. 2016-02-25 08:29:23 -08:00
Samuel Surtees
0b16ef497d Merge pull request #429 from starkos/remove-debug-settings
Remove debug settings from core build scripts
2016-02-23 20:07:02 +10:00
Jason Perkins
c81cfe0eb9 Remove debug settings from core build scripts
These debug settings cause the absolute path to the local premake-core project to be written into the Visual Studio .user file. This isn't a portable path, and shouldn't be generated by the distributed project scripts.
2016-02-22 18:34:15 -05:00
Jason Perkins
461304c89b Reverse operation of bytecode embedding flag: from --no-bytecode to --bytecode
See [issue #384](https://github.com/premake/premake-core/issues/384) for more information
2016-02-14 19:05:40 -05:00
Jason Perkins
7d8af16ca0 Fix deprecated Posix function warnings 2015-12-28 12:03:22 -05:00
Tom van Dijck
91f477aae6 Move scripts.c one up, so bootstrap.mak doesn't include it. 2015-12-17 12:56:56 -08:00
Matthew Versluys
1175f0df25 SSL support for Linux using OpenSSL
CURL_CA_BUNDLE is deteceted during premake.
Feels like the header that was generated by configure should be removed and move all curl build options into premake.
2015-10-26 10:36:35 -07:00
Matthew Versluys
192aa8216b SSL Support on Mac
Utilizes Darwin SSL (rather than OpenSSL).
The configuration file that was built appears to be for Linux.
Had to remove the CURL_CA_BUNDLE for certificate lookup to work.
2015-10-24 13:53:04 -07:00
Matthew Versluys
1185a2fb46 Fixes for Mac OSX
--start-group and --end-group aren't available in the clang that ships with Xcode 7
Moved the build/link options for -mmacosx-version-min from the project to the solution so that the settings are applied to the contrib libraries.
Eliminates link spam that the libraries were built with newer versions of the compiler.
2015-10-24 13:42:54 -07:00
Tom van Dijck
9e1cfc7697 flip to default on for bytecode. 2015-10-05 15:13:50 -07:00
Tom van Dijck
a656792e48 Embed precompiled lua files, instead of source. 2015-10-05 12:41:11 -07:00
Tom van Dijck
91c98e615b Move Lua into folder without version, so it's easier to update to a newer version. 2015-10-05 10:11:15 -07:00
Jason Perkins
26df42d6c4 Link rt to fix missing clock_gettime() error on Linux 2015-07-31 18:59:53 -04:00
Damien Courtois
9c3b435d15 inverted 3rd party contrib lib defaults and options 2015-07-27 15:55:55 +02:00
Damien Courtois
b5677f58d7 3rd party libraries are now options 2015-07-24 09:59:37 +02:00
starkos
3663909c35 Merge pull request #43 from Blizzard/contrib-libs
adding contrib libs (curl, zlib and libzip)
2015-07-12 16:51:24 -04:00
Tom van Dijck
570da6fbea setup premake to run tests from visual studio by default. 2015-06-08 11:15:34 -07:00
Jason Perkins
3a5b852470 Ported packaging script from Hg to Git 2015-04-27 17:32:59 -04:00
grbd
6202fe473a http api changes 2015-04-14 17:54:03 -07:00
tdijck
e4cab4f0fe adding contrib libs (curl, zlib and libzip) 2015-04-14 09:29:38 -07:00
Jason Perkins
c56f316251 Prep new release scripts for first alpha packages 2015-02-22 19:02:09 -05:00
Jason Perkins
934e3cecf8 A bit of cleanup 2014-12-13 17:32:09 -05:00
Jason Perkins
90ae7aaa70 Rework embedded scripts to be loaded on-demand and by name
This will be required in order to migrate modules into the executable for binary releases
2014-09-26 09:25:14 -04:00
Jason Perkins
52515963b4 Make test framework module aware
- Move test action into main project script
- Look for and load test suites from manifest files
- Make individual tests play nicer with third-party modifications
2014-09-17 19:19:47 -04:00
Jason Perkins
9044ece96f Allow modules loaded via require() to use script-relative paths 2014-07-30 15:35:26 -04:00
Jason Perkins
b3f907b111 Fixed location of reported deprecation errors 2013-10-09 15:44:08 -04:00
Jason Perkins
985c58103c Make the version change from 4.x to 5.x official
- Rename executable to premake5
- Default to premake5.lua project script; fallback to premake4.lua if not found
- Clean up internal references to premake4 naming
2013-09-10 16:24:39 -04:00