summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2010backend.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'centricular-customtarget-path-windows'Jussi Pakkanen2016-05-011-4/+1
|\
| * backends: Don't duplicate test setup data file nameNirbheek Chauhan2016-04-151-4/+1
| | | | | | | | | | | | Instead, return the values of the test and benchmark setup data files so that the ninja/osx/vs backends can use those filenames instead of hard-coding them.
* | vs2010: add object files from custom_target to projectNicolas Schneider2016-04-191-5/+12
| | | | | | | | | | | | | | | | Object files from a custom_target are like external objects and must be added to the project. Object files from a generator are automatically used by MSBuild, since they are part of the CustomBuildStep and thus part of the same project as the current build target.
* | vs2010: add generated libs as link dependenciesNicolas Schneider2016-04-191-0/+4
| |
* | vs2010: add dirs of custom_target generated files to include dirsNicolas Schneider2016-04-191-3/+7
|/
* Merge pull request #438 from trhd/testing_optionsJussi Pakkanen2016-04-061-1/+1
|\ | | | | New options for controlling test output.
| * Move MesonException from coredata to mesonlib.Hemmo Nieminen2016-04-011-1/+1
| |
* | vs2010: replace " with \" in /D command line argsNicolas Schneider2016-04-061-0/+8
|/ | | The /D switch strips any quotes except when they are escaped.
* Merge pull request #486 from nioncode/vs-transitivedepsJussi Pakkanen2016-03-311-1/+1
|\ | | | | vs2010: fix transitive dependencies
| * vs2010: fix transitive dependenciesNicolas Schneider2016-03-301-1/+1
| |
* | vs2010: add extra_files to projectNicolas Schneider2016-03-301-1/+6
|/
* Merge branch 'vs-privinc'Jussi Pakkanen2016-03-291-0/+4
|\
| * vs2010: support private include dirsNicolas Schneider2016-03-291-0/+4
| |
* | Merge branch 'vs-fixinclude'Jussi Pakkanen2016-03-291-5/+2
|\ \
| * | vs2010: fix include directoriesNicolas Schneider2016-03-291-5/+2
| |/ | | | | | | | | | | | | | | Everything in the VS project file is relative to the project file itself. The project file gets put in the target.subdir, so to include files from there we just need to use '.'. To include from the private dir, we need to use the relative path from the target dir to the target private dir.
* | Merge branch 'vs-extraargs'Jussi Pakkanen2016-03-291-15/+8
|\ \
| * | vs2010: support EXTRA_ARGS for generatorsNicolas Schneider2016-03-291-1/+1
| | |
| * | vs2010: fix generated files' pathNicolas Schneider2016-03-291-7/+2
| | | | | | | | | | | | | | | Generated files should always come with the correct relative path set, so we don't have to modify it at all.
| * | vs2010: fix relative path to target private dir for generatorsNicolas Schneider2016-03-291-3/+4
| | | | | | | | | | | | | | | | | | backend.get_target_private_dir() includes the target directory in the path. However, we want to treat all paths relative from the target directory, because that's where our VS project file lives in.
| * | vs2010: fix generator commandNicolas Schneider2016-03-291-5/+2
| |/ | | | | | | | | | | A shebang line on Windows will be resolved to [binary, script_path]. Thus, we need to use both instead of just taking the first element of the command.
* | Merge branch 'samename'Jussi Pakkanen2016-03-291-3/+36
|\ \ | |/ |/|
| * move source file conflict detection into Vs2010 backendNicolas Schneider2016-03-281-2/+25
| |
| * vs2010: fix object extraction with same source file nameNicolas Schneider2016-03-251-6/+11
| | | | | | | | | | This also refactors determine_ext_objs() to use inheritance instead of a method flag for determining the object output name.
| * vs2010: support same source file names in different subdirsNicolas Schneider2016-03-241-0/+5
| |
* | vs2010: use copy of buildtype_args to not change global stateNicolas Schneider2016-03-251-1/+1
|/ | | | | We do not want the modifications of general_args to propagate to the global buildtype_args.
* Merge branch 'Custom target absolute paths'.Jussi Pakkanen2016-03-201-4/+2
|\
| * remove unnecessary os.path.join() callsNicolas Schneider2016-03-151-4/+2
| | | | | | | | ofilenames and srcs are already absolute paths.
* | Merge pull request #441 from nioncode/vs-compile-argsJussi Pakkanen2016-03-201-27/+64
|\ \ | | | | | | vs2010: fix compile args
| * | check is_header() first, since it is a subset of is_source()Nicolas Schneider2016-03-141-1/+3
| | |
| * | add everything that is not an object or source file to headers listNicolas Schneider2016-03-131-5/+3
| | |
| * | only include known source file extensions into sources listNicolas Schneider2016-03-131-1/+4
| | |
| * | not all dependencies have a compile_args attributeNicolas Schneider2016-03-131-1/+4
| | |
| * | don't fail if we don't compile anything (we might just bundle object files)Nicolas Schneider2016-03-131-12/+14
| | |
| * | only guess language for source files, not for header or object filesNicolas Schneider2016-03-131-3/+3
| | |
| * | vs2010: support language specific extra_argsNicolas Schneider2016-03-131-31/+60
| | |
* | | Merge pull request #453 from nioncode/vs-customTargetDependenciesJussi Pakkanen2016-03-201-1/+1
|\ \ \ | | | | | | | | vs2010: fix dependencies of CustomTarget
| * | | vs2010: fix dependencies of CustomTargetNicolas Schneider2016-03-161-1/+1
| | |/ | |/|
* | | vs2010: add explicit objects as 'Object' ItemGroup instead of link dependencyNicolas Schneider2016-03-171-2/+5
| | | | | | | | | | | | | | | | | | This has two effects: 1. It makes targets with only object files work (test case 88). 2. It adds the object files to the project in the VS IDE.
* | | vs2010: fix object extractionNicolas Schneider2016-03-171-3/+3
|/ / | | | | | | | | | | | | | | | | 1. Dependencies must be set up with the target's id instead of its basename. 2. Extracted object output file names must not include the directory prefix, because MSBuild puts all object files into the same directory and names them srcfilename.obj instead of dir/filename.obj or dir_filename.obj.
* | vs2010: give each target an own temp dirNicolas Schneider2016-03-141-3/+3
|/ | | | | | | The 'Rebuild' target fails in mysterious ways if multiple targets use the same directories because of output files being deleted between two build steps (e.g. test case 78 fails on Rebuild, whereas Clean + Build work just fine).
* Merge pull request #442 from nioncode/vs-linker-argsJussi Pakkanen2016-03-121-3/+3
|\ | | | | vs2010: fix linker args
| * vs2010: fix linker argsNicolas Schneider2016-03-121-3/+3
| |
* | vs2010: support multiple precompiled headers (one per language)Nicolas Schneider2016-03-121-13/+49
| | | | | | | | | | | | | | 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.
* | vs2010: fail on multiple precompiled headersNicolas Schneider2016-03-121-0/+2
| |
* | vs2010: support precompiled headersNicolas Schneider2016-03-111-2/+18
|/
* vs2010: properly check whether solution needs to be regeneratedNicolas Schneider2016-02-251-8/+15
|
* vs2010: write regen.rule in gen_regenprojNicolas Schneider2016-02-251-4/+5
|
* vs2010: fix REGEN project input filesNicolas Schneider2016-02-251-2/+1
|
* Merge VS2010 path fix branch.Jussi Pakkanen2016-02-251-4/+2
|\
| * call os.path.normpath before splitting a file path into its componentsNicolas Schneider2016-02-251-1/+1
| | | | | | | | | | This makes sure that any '/' are converted to native directory separators on Windows.