Nicolas Schneider
baa639031b
not all dependencies have a compile_args attribute
9 years ago
Nicolas Schneider
e366631e9e
don't fail if we don't compile anything (we might just bundle object files)
9 years ago
Nicolas Schneider
5503939866
only guess language for source files, not for header or object files
9 years ago
Nicolas Schneider
8eac78b861
vs2010: support language specific extra_args
9 years ago
Nicolas Schneider
17f1323aca
vs2010: fix linker args
9 years ago
Nicolas Schneider
49418cfe8a
vs2010: support multiple precompiled headers (one per language)
...
This creates the PrecompiledHeader properties for every source file in the
project if multiple languages are present. Otherwise, the global pch
settings are used.
The pch to use is determined by checking the suffix of the source file.
9 years ago
Nicolas Schneider
5ba7680a0d
vs2010: fail on multiple precompiled headers
9 years ago
Nicolas Schneider
18ae344be4
vs2010: support precompiled headers
9 years ago
Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
9 years ago
Nicolas Schneider
bffc84e77e
vs2010: write regen.rule in gen_regenproj
9 years ago
Nicolas Schneider
4651ec8f77
vs2010: fix REGEN project input files
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Nicolas Schneider
2dcac38624
vs2010: write CustomBuildStep only if there is at least 1 command to be run
9 years ago
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.
9 years ago
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.
9 years ago
Nicolas Schneider
c2e406295e
vs2010: fix wrong generator command concatenation
9 years ago
Jussi Pakkanen
7435df8399
Moved backends to their own module.
9 years ago
Jussi Pakkanen
58d7db4a6c
Some windows fixes.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
d2a14075b3
Some fixes for other backends.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
c62b7e1a72
A few vs2010 fixes.
9 years ago
Jussi Pakkanen
3c3c977518
Fix incorrect private_dir_abs method.
9 years ago
Jussi Pakkanen
8e24e9e09a
Use all the extra flags in vs2010 projects.
9 years ago
Jussi Pakkanen
eceedc0d29
Declare buildtype and platform only once.
9 years ago
Jussi Pakkanen
53f0b3c0e7
Bring msvc2010 backend to form again.
9 years ago
Jussi Pakkanen
1b697f04cd
Fixed run targets on VS2010.
9 years ago
Jussi Pakkanen
86c401e7b0
Use absolute paths on msvc projecte because their cwd varies. The correct solution would be to build target relative paths but I do not have suffient interest to spend the time.
9 years ago
Jussi Pakkanen
e8cca681ca
Simple custom targets work in VS2010.
9 years ago
Jussi Pakkanen
1dac552acc
A few fixes.
9 years ago
Jussi Pakkanen
71ec62603f
Fix pipeline test.
9 years ago
Jussi Pakkanen
8a1f2cdbbc
Reference the regen target.
9 years ago
Jussi Pakkanen
a516f45917
Regeneration works now but only when doing a rebuild operation.
9 years ago
Jussi Pakkanen
5be7c011bf
Regenerator script works, but is not run automatically yet.
9 years ago
Jussi Pakkanen
19003e49d0
Generate a standin vcxproject to regenerate build definitions when the project setup changes.
9 years ago
Jussi Pakkanen
d23e59ed5f
But build type build args to vs command line.
9 years ago
Jussi Pakkanen
7ed4fad033
Use ids as they key.
9 years ago
Jussi Pakkanen
5297516c91
Changed target naming algorithm to avoid Windows file name forbidden characters.
9 years ago
Jussi Pakkanen
384365c843
Added outdir() method to build targets so we can make output dirs togglable.
9 years ago
Jussi Pakkanen
363bc42c5c
Started target out dir refactoring with some clarifying renamings.
9 years ago
Igor Gnatenko
b49b7fdc05
vs2010backend: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
2ac6c9cbcc
Some vs2010 fixes.
10 years ago
Jussi Pakkanen
b233720a08
Some vs2010 fixes.
10 years ago
Jussi Pakkanen
a8803faf04
Vs2010 fix from mfrischknecht. Closes #98 .
10 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
c33014cc63
Some vs2010 fixes.
11 years ago
Jussi Pakkanen
1967b64180
Separated backends into their own files.
11 years ago