Closed timotheecour closed 8 years ago
after git clone https://github.com/libmir/mir/issues/323, replacing "targetType": "sourceLibrary", by "targetType": "library", and typing dub build works
99% of source code is templates. Building Mir will just produce ModuleInfo
. dub test mir
should work anyway. Why you need to build it?
Well otherwise I get: undefined reference to `_D3mir4glas2l312__ModuleInfoZ'
it works with pragma(lib, "mir") and proper -L-L flags
if it's <100%, why not allow building it?
unless you have a better way?
(PS: i'd like to use mir in an application that's not necessarily built via dub; it all works so long i can have a libmir that's built)
OK will add it back soon
For 0.17.0-alpha3: dub build --config=static
FWIW those targets are also needed for the ArchLinux packages
How to build latest version of mir?