Updated copy_directory to return a list of copied files
C++ standalone now generates and uses a makefile, closes #213
New device object acts as a proxy to the current device, returning a
dummy object that ignores everything done to it if the device doesn't
implement that functionality - removed build() and insert_device_code()
- like this it's easier to add new functionality to devices
Added flexibility to C++ standalone (#152)
Fixes for previous commit
C++ standalone: no unnecessary rebuilds, also allow you to read command
line arguments
Merge remote-tracking branch 'origin/master' into cpp_standalone_improvements
Revert so that makefile doesn't output to stdout
New brian:: namespace in C++ standalone
Add the makefile template to setup.py.
Fix the use of additional `run_args` (which are not used anywhere at the moment) in `Device.build` for linux
Actually, `run_args` was used in one example, fix that example.
synapses_create now sorts on variable attribute
Another attempt at making it run on python 3
And another try
Avoid duplicate definitions of pointers to arrays.
Handle setting arrays to scalar values in standalone code better.
Change the way, implementations for functions are added: if an implementation is registered for `cpp`, it should be added both for `WeaveCodeGenerator` and for `CppCodeGenerator`. For that to work, `CppStandaloneCodeObject` (the only `CodeObject` using `CppCodeGenerator`) also has to be in the list of codegen targets.
Some further cleanup, examples in `dev/ideas/devices` now mostly work, `cpp_standalone_run_example` needs a more fundamental overhaul, though. Some features (e.g. summed variables) are only tested in examples not in the standalone testsuite -- we should certainly change that.
Fix makefile warning