Commit Graph

1593 Commits

Author SHA1 Message Date
Jason Perkins
c581403fe9 Remove .dll extension from managed assembly references in C++ projects 2015-02-14 15:41:41 -05:00
Jason Perkins
79507f946c Restore .lib extension on libraries from the MSC tool adapter 2015-02-14 15:30:17 -05:00
Jason Perkins
9ac067355d Reverse order of system and sibling libraries to match previous versions 2015-02-14 15:23:36 -05:00
Jason Perkins
f5abdb9d69 Remove ".lib" extension from system library links in generated makefiles on Windows 2015-02-14 14:56:02 -05:00
Jason Perkins
494196598e Fix Lua stack underflow in script loader 2015-02-13 16:03:32 -05:00
Jason Perkins
8390255470 Reverse search order of module naming variations to avoid matching embedded path ahead of local file 2015-02-12 18:29:48 -05:00
Jason Perkins
e9ac1dc74e Allow modules to be specified as bare Lua files, instead of placed in a module folder 2015-02-12 17:51:49 -05:00
Jason Perkins
4101fd8241 Fix "unused parameter" warning 2015-02-09 12:44:15 -05:00
Jason Perkins
1ddb214cc3 Fix "Error: (null)" messages on startup if main script can't be located on disk 2015-02-09 12:43:08 -05:00
Jason Perkins
38c5b79840 Add the directory containing the Premake executable to the script search path
This is a useful location for placing a system script.
2015-02-06 16:33:28 -05:00
Jason Perkins
25e1e766ae Allow modules to specify an explicit directory, i.e. require("build/mymodule")
This makes it easier to distribute modules along with a project's source code, giving full control over where the modules are kept in the tree.
2015-02-06 15:38:56 -05:00
Jason Perkins
8ecf4ac7f0 Add Sublime text project and workspace to hgignore list 2015-02-05 16:13:49 -05:00
Jason Perkins
0f4e94f19c Merge module and script loading improvements 2015-02-05 16:12:01 -05:00
Jason Perkins
73a40b228a Create premake namespace in host *and* script until everyone has had a chance to update 2015-02-04 19:24:28 -05:00
Jason Perkins
f2c8b640d6 Pass through error messages from script loading; fixes misleading 'file not found' messages 2015-02-05 15:59:02 -05:00
Jason Perkins
7ed7af38db Allow action path variable maps to use functions as replacement values 2015-02-04 19:19:16 -05:00
Jason Perkins
a340df826b Drop no longer needed path.getabsolute() from main script loading 2015-02-04 19:16:05 -05:00
Jason Perkins
78678a193d Restore more of the script search locations 2015-02-04 18:56:45 -05:00
Jason Perkins
2e76782abc Move initialization of _USER_HOME_DIR to host 2015-02-04 18:39:02 -05:00
Jason Perkins
c936229eac Restore PREMAKE_PATH searching 2015-02-03 19:52:05 -05:00
Jason Perkins
1bd13569b9 Populate new global premake.path with search path; use in script loader
I've only implemented searching on the --scripts path with this commit; more paths coming in next commits.
2015-02-03 19:25:30 -05:00
Jason Perkins
cca1ea6643 Move premake namespace creation into host 2015-02-03 16:14:52 -05:00
Jason Perkins
ae6ee359d1 Merged in tbasnoopy/premake-dev/buildoutput fix (pull request #145)
Fix buildoutputs format for multiple outputs
2015-01-28 11:37:30 -05:00
M Skibbe
314d8cbe2d fix buildoutputs format 2015-01-28 09:26:57 +01:00
Jason Perkins
32a81cf19e Exclude empty C# user file property groups 2015-01-26 17:04:29 -05:00
Jason Perkins
a8a2595d79 Merge toolset path variables feature 2015-01-22 16:34:04 -05:00
Jason Perkins
74c5bfd7bd Handle absolute path tokens placed in path fields, which are themselves absolute 2015-01-21 17:22:19 -05:00
Jason Perkins
2418a84fbd Add more Visual Studio path variables 2015-01-20 17:55:47 -05:00
Jason Perkins
3f718a470c Add ability to map Premake tokens to toolset specific variables 2015-01-15 12:00:57 -05:00
Jason Perkins
98ab499f13 Revert ToolVersion change on VC 2013 .filters files to match VS 2015-01-12 17:17:56 -05:00
Jason Perkins
623c5d3d79 Merge new and improved action callback functions (h/t Richard Geary) 2015-01-22 13:18:17 -05:00
Jason Perkins
0c740abdb5 Switch action callbacks to new, preferred capitalization 2015-01-22 13:14:02 -05:00
Jason Perkins
6e60775e78 Add onStart and onEnd action callbacks; change capitalization of onSolution and onProject to match 2015-01-21 15:47:29 -05:00
João Matos
da75753b0d Added support for debug arguments to the C# VS/XS projects generators.
Obsoletes pull request #113, thanks to Elias Holzer for original code.
2015-01-02 22:26:13 +00:00
Jason Perkins
b9d6ce892b Fix Visual Studio 2013 tool and framework version numbers 2014-12-29 15:18:07 -05:00
Jason Perkins
c922f3a199 Fix "unused parameter" warning 2014-12-24 16:40:15 -05:00
Jason Perkins
e507d1a2fb Exclude resource elements from Visual Studio when no resource files are present 2014-12-23 20:05:40 -05:00
Jason Perkins
247018cef0 Fix relative loading of embedded scripts when local file exists 2014-12-22 17:08:47 -05:00
Jason Perkins
25255da22d Error on attempts to override a missing function 2014-12-22 11:52:57 -05:00
Jason Perkins
b47d85390e Add target field name to "invalid value" error messages 2014-12-22 11:52:31 -05:00
Jason Perkins
8f9ae22861 Defensive check for missing basedir field on config set blocks 2014-12-22 11:52:01 -05:00
Jason Perkins
dad1ee10e3 Pass Lua state to do_chdir(), for use by native code customizations 2014-12-22 11:51:06 -05:00
Jason Perkins
e2d8acf864 Allow main script name to be overridden in premake_execute() 2014-12-22 11:50:26 -05:00
Jason Perkins
b68537cd00 Remove dead code from option unit tests 2014-12-22 11:49:47 -05:00
Jason Perkins
a8f4c5561a Fix failing PS3 related unit tests 2014-12-18 16:41:58 -05:00
Jason Perkins
934e3cecf8 A bit of cleanup 2014-12-13 17:32:09 -05:00
Jason Perkins
1bcd783031 Consolidate Visual Studio extensions into the core action 2014-12-08 17:42:00 -05:00
Jason Perkins
ceb3c83d67 Remove outdated PS3 support
I will be bringing this back shortly, in a more complete form
2014-12-08 16:04:41 -05:00
Jason Perkins
2ee89a7181 Merged in dcourtois/premake-dev/test_issue_63 (pull request #140)
added unit test for issue #63
2014-12-16 15:24:25 -05:00
Damien Courtois
5b872a3a7f added unit test for issue #63 2014-12-16 10:44:56 +01:00