Nicolas Schneider
5e1fdb8b97
use positional instead of keyword args for add_postconf_script
9 years ago
Jussi Pakkanen
455e55f8e5
Back to .py suffix in files. Closes #394 .
9 years ago
Nicolas Schneider
9f9f73fa52
add args support for add_postconf_script
9 years ago
Nicolas Schneider
92187501ed
Can add postconfigure script.
9 years ago
Jussi Pakkanen
52b66edb6c
Can specify compile and link args for internal deps.
9 years ago
Jussi Pakkanen
352b5badd2
Handle resources that come in files(). Closes #424 .
9 years ago
Jussi Pakkanen
2d32c39471
Handle built targets in custom rules. Closes #411 .
9 years ago
Jussi Pakkanen
cb0b9b79f4
Oh, and one more thing.
9 years ago
Jussi Pakkanen
e0a23a7f6a
A few more tweaks.
9 years ago
Jussi Pakkanen
d2657fb396
Readme linkification.
9 years ago
Jussi Pakkanen
c6138fe8bd
.ipp is a C++ header suffix.
9 years ago
Jussi Pakkanen
97c22fadbe
Merged XCode fix.
9 years ago
Jussi Pakkanen
6422069c8a
Authors.txt updating.
9 years ago
Jussi Pakkanen
06693f8d9e
Merge pull request #412 from lukeadams/master
...
Improve readme
9 years ago
Jussi Pakkanen
af53c2bc3b
Merge pull request #419 from nioncode/fixVs2010Regen
...
Fix vs2010 regen
9 years ago
Jussi Pakkanen
ea60a22cd5
Merge Python 3 module support.
9 years ago
Jussi Pakkanen
efceac497f
Python extension module finally works on Windows.
9 years ago
Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
9 years ago
Nicolas Schneider
ac5ee0c414
dump coredata to file before calling backend.generate()
...
This ensures that all build files always have a later timestamp than
coredata.dat, which is used to check if the build files must 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
Rogiel Sulzbach
f98dc48a8d
Fix Xcode backend
...
This makes the following changes:
* Explicitly closes the file for force flushing (this fixes an issue on which the last 2 or 3 lines weren't being written to disk)
* Adds another check on the PBXBuildFile stage to get the file name if the returned source type is a File instead of a string
Fixes issue #337
9 years ago
Jussi Pakkanen
003696fc27
Merge VS2010 path fix branch.
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
Jussi Pakkanen
6f907dd4ab
Merge pull request #358 from tp-m/no-args
...
Try harder to infer build and source directories if called without arguments.
9 years ago
Jussi Pakkanen
7d516ee9b1
Merge pull request #408 from nioncode/fixGeneratorTest
...
Fix generator test
9 years ago
Minijackson
3b688c6114
Create directories of unity temporary files
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
Luke Adams
41dd1e2a24
Delete old readme
9 years ago
Luke Adams
cd125362e2
Readme in markdown
...
Headings and logo
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
Nicolas Schneider
1196532c0b
fix 'object generator' test case for ninja
...
The ninja backend uses the '/MDd' switch when the tests are run, which
results in LNK4098 error, because the generator does not use the same
version of the Windows runtime library.
9 years ago
Nicolas Schneider
32b43e77ab
add myself to authors.txt
9 years ago
Nicolas Schneider
681a14a695
use sys.stdout.encoding when parsing subprocess output
9 years ago
Jussi Pakkanen
d88223bd61
Do delayed argument setting properly this time.
9 years ago
Martin Ejdestig
6a90d5d587
Print value of werror in mesonconf
9 years ago
Martin Ejdestig
47db4e3d53
Pass warning arguments to compiler even if buildtype is plain
...
Noticed when trying to pass custom optimization flags, and hence setting
buildtype to plain, that warnings for different levels were not passed to
compiler.
This was a bit confusing since mesonconf still displayed "warning_level=3"
and -Werror was passed correctly due to "werror=true". So this change
aligns warning_level behavior with werror. That is, heed what is in
project() in meson.build but user can still override if necessary.
9 years ago
Jussi Pakkanen
836b121a9c
Refix Linux.
9 years ago
Jussi Pakkanen
40d70e1b15
Skip cython test if it does not exist.
9 years ago
Jussi Pakkanen
a04c33e125
Can build Python extension on OSX.
9 years ago
Jussi Pakkanen
98d3fb5372
Extract python3 dependency information from the current process if it is not available in pkg-config.
9 years ago
Jussi Pakkanen
16b9a52235
Fix cython to work on platforms other than latest Ubuntu.
9 years ago
Jussi Pakkanen
738f7f860c
Added Cython sample project.
9 years ago
Jussi Pakkanen
98d00386b1
Can build a Python extension module.
9 years ago
Jussi Pakkanen
a8120eb519
Added plain Python sample project.
9 years ago
Nirbheek Chauhan
d95a108503
compilers: MSVC does not understand the -lfoo syntax
...
MSVC requires import libraries called foo.lib for linking to foo.dll, so
translate -lfoo to that. If foo.lib doesn't exist, linking will fail as
expected.
9 years ago