Tom van Dijck
133856c0ef
Update embed.lua
2017-08-07 08:52:18 -07:00
Tom van Dijck
9f33db3ba7
Allow embedding of binary resources.
2017-08-04 09:22:57 -07:00
Tom van Dijck
b4acd30cca
fix unreferenced argument warning.
2017-07-04 18:41:48 -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
Lynix
b14af470fa
Fix typo
2017-05-17 23:21:15 +02: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
Tom van Dijck
91f477aae6
Move scripts.c one up, so bootstrap.mak doesn't include it.
2015-12-17 12:56:56 -08: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
Damien Courtois
86a14e3491
support for user modules now only in the embed action
2015-08-24 18:08:43 +02:00
Damien Courtois
4dd81d0c08
added support for preloading user modules
2015-08-16 22:05:33 +02:00
tdijck
9b2c8c3c9a
fix 'off by one' error for emtpy scripts.
2015-04-06 16:36:37 -07:00
Jason Perkins
f01709afa1
Roll back embedded script compression with LuaSrcDiet
2015-04-01 13:42:15 -04:00
Jason Perkins
c162b7a654
Giving summary of the Lua source diet, instead of individual lines (Oliver Schneider)
2015-03-29 15:43:40 -04:00
Jason Perkins
ef2e472928
The post-processing after LuaSrcDiet processing is required so that the string becomes a valid C string (Oliver Schneider)
2015-03-29 15:35:43 -04:00
Jason Perkins
4284905a9f
Adjusting LuaSrcDiet so we can use dofile() and call it, returning the trimmed down source (Oliver Schneider)
2015-03-29 15:33:51 -04:00
Jason Perkins
de9520eded
Re-enable deferred module loading
2015-03-13 19:17:07 -04:00
Jason Perkins
0b8d4c1544
Fix embedding of Xcode action registration
2015-03-09 17:07:12 -04:00
Jason Perkins
a0ab11bda6
Rework --scripts handling to allow module loading
...
The --scripts argument should not point to the top-level Premake folder rather than its src/ folder; this allows the modules/ folder to also be referenced along that same path.
2014-10-16 17:32:09 -04:00
Jason Perkins
d9c87649f3
Fix embedding of main script and manifest
2014-09-29 15:28:11 -04: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
27a39db6a6
Stop using io.tmpfile() in script embedding; doesn't always work on Windows
2014-05-29 18:04:58 -04:00
Jason Perkins
82e2676b40
Write scripts.c to right location even when called from a different working directory
2013-12-01 16:03:08 -05:00
Jason Perkins
97edb4bee9
Improve comment filtering in embed action
2013-12-01 15:30:28 -05:00
Jason Perkins
7d77ec8a1a
Only write scripts.c if modified by embed action
2013-12-01 15:24:25 -05:00
Jason Perkins
6a57a89e9c
Allow embed action to be called from non-standard locations
2013-11-07 09:39:46 -05: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
Jason Perkins
91ba9c899f
Initial work on an expanded configuration API; added configset, criteria, and context objects, initial usage for target naming parameters
2012-10-19 18:53:03 -04:00
Jason Perkins
0b1fb89bc0
Strip block comments when embedded scripts
2012-02-13 15:21:28 -05:00
Jason Perkins
764400861b
Patch #2981897 : Add assert to embed file handling
2011-08-24 16:07:53 -04:00
starkos
3361bd4c66
Simplified long string handling in embedded scripts
2010-01-08 17:42:16 +00:00
starkos
ba8750bf28
Adjusted string length limits to build on VS2003
2010-01-07 16:24:17 +00:00
starkos
bbf7bbef3a
Bug 2927604: Unable to build Premake with Visual Studio
2010-01-07 15:36:03 +00:00
starkos
267dab61e2
Updated the build instructions
2009-08-27 16:23:20 +00:00
starkos
29fcfa20fa
Started a release script
2009-07-16 15:20:15 +00:00