Commit Graph

1433 Commits

Author SHA1 Message Date
Jason Perkins
37e564b23c Update build instructions for new embedding logic 2014-10-06 16:13:44 -04:00
Jason Perkins
67f6fba149 Merge new script embedding system 2014-10-04 19:10:21 -04:00
Jason Perkins
3e4975af1b Enable relative referencing of embedded scripts 2014-10-04 18:02:20 -04:00
Jason Perkins
2143d3de9b Merge managed C++ linking of unmanaged library dependencies 2014-10-02 16:41:14 -04:00
Jason Perkins
428b9cad2f Fix managed C++ linking of unmanaged library dependencies 2014-10-02 16:40:28 -04:00
Jason Perkins
157d96e39d Modernize VC 201x project references generator 2014-10-02 16:21:25 -04:00
Jason Perkins
e2c1f5c430 Add more module and script search paths
Now uses same set of paths to locate both modules and individual scripts, in order:
  - the main script dir (_MAIN_SCRIPT_DIR)
  - the current working directory
  - ~/.premake
  - the --scripts=… argument, if present
  - the PREMAKE_PATH environment variable, if set
  - the folder containing the Premake executable (_PREMAKE_DIR)
  - ~/Library/Application Support/Premake
  - /usr/local/share/premake
  - /usr/share/premake

Prints a warning when embedded scripts are loaded from a debug build
2014-09-29 18:00:52 -04:00
Jason Perkins
d9c87649f3 Fix embedding of main script and manifest 2014-09-29 15:28:11 -04:00
Jason Perkins
b4cdb330bf Added _MAIN_SCRIPT_DIR to module search path 2014-09-29 14:58:46 -04:00
Jason Perkins
88dc2cb8a8 Merged in dcourtois/premake-dev/custom_build_additional_inputs (pull request #131)
added a buildinput command to add additional input dependencies to custom build commands.
2014-09-28 14:52:43 -04:00
Jason Perkins
cf3a1331a6 Merged in noresources/premake-dev-ns/ld_so_conf (pull request #134)
Fix error on linux if ld.so.conf does not exists
2014-09-28 14:51:18 -04:00
Jason Perkins
7ef47ef3ea Merge unit test fixes to previous commit 2014-09-28 14:50:22 -04:00
Jason Perkins
d3396be99c Fix unit tests broken by previous commit 2014-09-28 14:49:57 -04:00
Jason Perkins
9ee5e2f03e Merged in assassini/premake-dev-1/assassini/fix-perfile-custom-build-commands-in-c-g-1411831836712 (pull request #133)
Fix per-file custom build commands in C++ gmake action
2014-09-28 14:47:03 -04:00
Aleksi Juvani
7640661f4b Fix per-file custom build commands in C++ gmake action 2014-09-27 15:30:42 +00:00
Aleksi Juvani
7937f55073 Fix bootstrapping with premake4 2014-09-27 11:16:41 +00:00
Damien Courtois
e919f9e9f5 updated buildinputs tests to check the file separator 2014-09-26 15:26:56 +02: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
Damien Courtois
7c4eed3d1c added buildinputs support to make action 2014-09-26 15:24:23 +02:00
Damien Courtois
81158c0eb7 fixed the vs201x generator (was using a space instead of a semi-colon) 2014-09-26 15:16:02 +02:00
Damien Courtois
39725134b7 added support for buildinputs in vs200x generators 2014-09-25 11:00:17 +02:00
Damien Courtois
4e7dc976ba added a buildinput command to add additional input dependencies to custom build commands. 2014-09-25 10:41:27 +02:00
Jason Perkins
ee305d4ff1 Fix handling of deprecation error reporting for removed values 2014-09-22 16:30:05 -04:00
Jason Perkins
ef460ae7e5 Fix implicit conversion warning when building with floating point Lua 2014-09-22 16:28:59 -04:00
Jason Perkins
65a89ab098 Merged in noresources/premake-dev-ns/makefile-groups (pull request #112)
Transform solution groups into target aggregates in Makefiles (bis)
2014-09-20 18:50:56 -04:00
Jason Perkins
05712c4ce7 Merged in neo2buha/premake-dev (pull request #117)
Use seed for hashing
2014-09-20 18:41:48 -04:00
Jason Perkins
35b652557a Merged in mendsley/premake-dev/xbox360-imagexex (pull request #116)
Add support for custom title configuration files in xbox360 builds
2014-09-20 18:32:18 -04:00
Jason Perkins
fb8a77b902 Merged in grizzlynyo/premake-dev/FatalCompileWarnings_v201x_fix (pull request #114)
"FatalCompileWarnings" flags had no effect in vs201x actions
2014-09-20 18:25:06 -04:00
Jason Perkins
a04b0aa9cd Fix indentation in Visual Studio .user and .filter files 2014-09-19 14:02:50 -04:00
Jason Perkins
8f4a17f046 Merge automated test framework updates 2014-09-18 16:35:25 -04:00
Jason Perkins
b347b204d8 Modify testing scripts to use new test action setup 2014-09-18 16:19:08 -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
962ab7935b Add new globals _PREMAKE_DIR, _MAIN_SCRIPT, and _MAIN_SCRIPT_DIR 2014-09-02 16:43:09 -04:00
Jason Perkins
287c592733 Fix _WORKING_DIR global broken by commit 3da877fd5473 2014-09-02 15:41:02 -04:00
Jason Perkins
7e345ea1ac Merge deterministic configuration map fixes
- Store maps in a list, so the project script ordering will be maintained when applied
2014-08-28 09:38:20 -04:00
Jason Perkins
1f67707a9b Store config maps in a list, so project script ordering will be maintained 2014-08-28 09:19:14 -04:00
Jason Perkins
6449bc70a6 Re-fix "empty loop body" warnings broken by previous commit 2014-08-26 14:07:02 -04:00
Jason Perkins
2d9a997e04 Add casts to lua_Number to allow working with floating point runtimes 2014-08-10 15:53:25 -04:00
Jason Perkins
22d46ce57c More modernizing of VC 201x for extensibility 2014-08-07 18:07:32 -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
3a4888b810 Allow ExcludeFromBuild flag to work properly with mapped configurations 2014-07-29 16:34:54 -04:00
Jason Perkins
42cb65e0cb Allow ExcludeFromBuild flag to exclude entire configurations (VS only) 2014-07-29 16:00:02 -04:00
Jason Perkins
b1e25f43b1 Test framework no longer errors when test is not found 2014-07-29 15:50:55 -04:00
Jason Perkins
bed5207c5e Fix up formatting of tests from previous commit 2014-07-29 14:57:20 -04:00
Jason Perkins
32fc58eb23 Merged in gaz_liddon/premake-dev (pull request #115)
Fixes external library name mangling in gmake makefiles
2014-07-29 14:54:08 -04:00
Jason Perkins
2dfa47c0eb Fix up unsafe flag test from previous commit 2014-07-29 14:51:17 -04:00
Jason Perkins
394427a3db Merged in triton/premake-cs-fixes/cs-unsafe2 (pull request #67)
Added Unsafe flag support to the C# Make action.
2014-07-29 14:49:46 -04:00
Jason Perkins
d39cb36aef Allow external projects to be explicitly linked; use target...() APIs to control target name 2014-07-28 19:18:45 -04:00
Jason Perkins
02eb13e99d Stop writing PDB file name element to VS 201x C++ projects; use default name instead 2014-07-28 16:37:45 -04:00
Jason Perkins
ff146754fc Simplify list and keyed field merging code paths; performance improvement 2014-07-28 16:11:29 -04:00