Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
2016-02-25 23:13:29 +01:00
Nicolas Schneider
bffc84e77e
vs2010: write regen.rule in gen_regenproj
2016-02-25 23:13:14 +01:00
Nicolas Schneider
4651ec8f77
vs2010: fix REGEN project input files
2016-02-25 23:12:56 +01:00
Jussi Pakkanen
003696fc27
Merge VS2010 path fix branch.
2016-02-25 22:49:44 +02:00
Nicolas Schneider
c5001a3a5a
call os.path.normpath before splitting a file path into its components
...
This makes sure that any '/' are converted to native directory separators
on Windows.
2016-02-25 21:36:57 +01:00
Nicolas Schneider
6de2fd6ab5
vs2010: fix target_to_build_root method
...
Python's os.path.split() does not split the path into its components.
Instead, split the path with str.split() using the OS's file system
separator.
2016-02-24 00:40:14 +01:00
Nicolas Schneider
78551ae242
vs2010: do not add generated object files to project
...
MSBuild automatically includes the output objects of the CustomBuildStep
in the link command. If the objects are additionally added to the project,
they will be put twice on the linker command, which leads to LNK4042
warning.
2016-02-23 23:46:34 +01:00
Nicolas Schneider
2dcac38624
vs2010: write CustomBuildStep only if there is at least 1 command to be run
2016-02-23 22:55:13 +01:00
Nicolas Schneider
ed6c0e1fa6
vs2010: merge all generators into single command invocation
...
MSBuild does not allow multiple CustomBuildStep elements. Therefore, all
input / output files and generator commands must be concatenated and put
into a single CustomBuildStep.
2016-02-23 01:04:27 +01:00
Nicolas Schneider
d79f402769
vs2010: fix including a precompiled / generated object file in compilation
...
MSBuild uses the <Object Include='FILE'/> syntax to add prebuilt object
files to the project.
2016-02-23 01:04:27 +01:00
Nicolas Schneider
c2e406295e
vs2010: fix wrong generator command concatenation
2016-02-23 01:03:52 +01:00
Jussi Pakkanen
7435df8399
Moved backends to their own module.
2016-01-23 20:02:52 +02:00