Jason Perkins
7f4bd53f70
Rollback PR #247 - support framework folders in gcc/clang
...
Rolled back the change and added a unit test to make sure we catch this in future
2015-10-27 09:54:57 -04:00
Sami Kankaristo
c71562f072
Add test for gmake Utility projects
2015-10-03 12:06:39 +03:00
Manu Evans
4c11977bd3
Fixed the tests.
2015-09-16 15:56:57 +10:00
Jason Perkins
c3d2e226a3
Rename solution to workspace in test suites
2015-09-03 18:03:39 -04:00
Jason Perkins
14525e8161
Changes names in core test suites
2015-08-28 16:16:14 -04:00
Tom van Dijck
31e3588d54
fix unit-tests.
2015-07-02 07:14:26 -07:00
leeonix
a01225a90a
modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125
2015-06-25 07:03:10 +08:00
Tim Wharton
45401aa57b
Enable Makefile environment overrides for CC,CXX and AR.
...
Check if CC, CXX or AR are their default values before assigning them their premake defaults.
If they are not at their default values, they have been overriden in the environment and we should leave them alone.
Overriding toolchains from the command line is useful when swapping between compilers.
For example: `CC=gcc-4.8.1 make -C build`
2015-06-08 04:46:16 +01:00
Ben Ratzlaff
ec157c8e6e
Implement 'RelativeLinks" flag to effect makefile creation to use -l and -L instead of linking against the full path of a dynamic object library
2015-02-06 16:48:59 -07:00
Jason Perkins
a8f4c5561a
Fix failing PS3 related unit tests
2014-12-18 16:41:58 -05:00
Jason Perkins
eb0904698f
Fix escaping of multiple build rule inputs
2014-12-08 12:44:51 -05:00
Jason Perkins
8eef265558
Fix issue #21 : ARCH variable conflicts with building on Gentoo
...
Remove the $(ARCH) variable from generated makefiles. If needed, we can come up with a different name that doesn't conflict with existing system variables.
2014-11-19 12:29:19 -05: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
d3396be99c
Fix unit tests broken by previous commit
2014-09-28 14:49:57 -04:00
Damien Courtois
7c4eed3d1c
added buildinputs support to make action
2014-09-26 15:24:23 +02: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
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
Stefan Cosma
20e44b9f34
- Fix gmake parallel builds when using precompiled headers
2014-06-05 18:11:03 +02:00
Jason Perkins
b0103e76ca
Add getLibraryDirectories() to tool adapters
...
- use throughout to avoid flag duplication in VS projects with external tools
2014-05-23 20:10:34 -04:00
Gaz Liddon
82a9ebda9e
Linking gmake test - checks external lib name isn't mangled
...
External libs with a period in the currently get changed.
The period and everything after it is deleted. So:
links {"lua-5.1"}
becomes:
-llua-5
in the makefile. This test checks for that. Fix in next commit
2014-05-08 15:52:39 +01:00
Jason Perkins
f4e55da621
Added new filter() to replace configuration(), with required field prefixes
...
- use like: filter { "configurations:Debug" }
- supported prefixes: action, architecture, configurations, files, kind, language, options, platforms, system
- defaults to "configurations" if no prefix is specified
2014-04-25 11:53:01 -04:00
Jason Perkins
1b28b48a6b
Fix duplicate flags in Gmake PCH build commands (Patrick Rapin)
2014-02-14 15:22:32 -05:00
Jason Perkins
5f1c12a1cf
Fix makefile unit tests broken by previous commits
2014-02-04 15:27:51 -05:00
Jason Perkins
957a6e45e1
Move more tool switches into the mapping tables
2013-12-17 16:43:09 -05:00
Jason Perkins
708175e24b
Split baking back out into own source file; prevent automatic baking of "raw" objects
2013-11-14 08:52:55 -05:00
Jason Perkins
91d003a82f
Phased out sysflag tables from tool adapters
2013-10-31 10:57:25 -04:00
Jason Perkins
b5e7a345fb
Merged in triton/premake-cs-fixes/make-rc2 (pull request #71 )
...
Fixed resource compiler tool in the C++ Make backend.
2013-10-31 11:19:09 -04:00
Nitin Gupta
c3d0e094a8
Fix clang test case
...
Test asserts that CXX is set to clang++ (and not clang)
2013-10-08 17:30:04 -07:00
Jason Perkins
1b105e377d
Pass same flags to PCH compile as C/C++ source code
2013-10-03 10:47:14 -04:00
triton
6e15d08b16
Fixed resource compiler tool in the C++ Make backend.
2013-09-27 01:52:06 +01:00
Jason Perkins
7c8881ddb2
Remove nextgen fields and _ng suffixes everywhere
2013-09-13 11:52:00 -04:00
Jason Perkins
e681b636ec
More code cleanup:
...
- Drop premake5 namespace; everything is premake again
- Remove deprecated project and config APIs
2013-09-13 11:15:36 -04:00
Jason Perkins
db22c65496
Limit use of quotes in compiler command line arguments
2013-09-11 10:57:44 -04:00
Jason Perkins
dcf2da2cde
Add test for PCH location on include dirs when project has a location set
2013-08-20 10:50:07 -04:00
Jason Perkins
2431aa9fae
Improved handling of precompiled headers across toolsets
2013-08-13 10:56:01 -04:00
Jason Perkins
99ce5cfbbf
Rework Gmake C++ exporter to use new extensibility conventions
2013-08-11 14:22:24 -04:00
Jason Perkins
b18e8b7ccd
Swapped $(LIBS) and $(ALL_LDFLAGS) in makefile linking step (Ben Henning)
...
See http://sourceforge.net/p/premake/bugs/279/
2013-08-11 09:54:17 -04:00
Jason Perkins
4b251b2036
Excluded files are no longer considered in duplicate object file renumbering
2013-07-07 16:48:17 -04:00
Jason Perkins
8f2a64cd88
Consolidate file configuration building in up-front baking step
2013-07-04 12:37:01 -04:00
Jason Perkins
5c87c62de1
Split handling of include directories and force includes; wrap all include paths in quotes
2013-06-27 13:50:12 -04:00
Jason Perkins
2f1fe980ef
Duplicate object file names are now ordered the same across all toolsets
2013-06-21 17:32:33 -04:00
Jason Perkins
621e59481f
Fixed bug #176 : Target prefix breaks GCC linking
2013-05-16 11:40:47 -04:00
Alexey Orlov
38ba3c5e41
[gmake] allow mixing c files in cpp projects: review changes, test added
2013-05-02 15:36:11 +03:00
Jason Perkins
0cd9bac896
Switch per-file build rules to use new build…() APIs
2013-04-09 15:12:04 -04:00
Jason Perkins
76c7c1a485
Added Clang tool adapter, passing through to GCC for now
2013-03-20 11:25:39 -04:00
Jason Perkins
9c752adf4a
Add ExcludeFromBuild flag to mark source files as non-buildable
2013-02-07 10:58:31 -05:00
Jason Perkins
34127f2463
Fix linking to external libraries outside of project folder
2013-01-29 10:25:52 -05:00
Jason Perkins
b7bc59e105
Allow command line override of makefile flags (Cameron Hart)
2013-01-23 11:50:54 -05:00
Jason Perkins
77212557dc
Merge new configuration system into the public APIs
2012-11-04 09:21:58 -05:00