Can I do an or in a version block?
    Ali Çehreli 
    acehreli at yahoo.com
       
    Tue Mar 13 12:00:54 PDT 2012
    
    
  
On 03/13/2012 11:49 AM, Andrej Mitrovic wrote:
> On 3/13/12, Ali Çehreli<acehreli at yahoo.com>  wrote:
>> Developers wouldn't
>> want that to happen every time a .d file is compiled.
>
> Well luckily unittests don't run when you compile a .d file but when
> you run the app! :)
Good point. :)
Our C++ unit tests are a part of a test binary that has a make file 
dependency on the library that the .cc files contribute to.
A changed .cc causes its .o to be built, the .o causes its .a to be 
built, the .a causes its unit test application to be built, and finally 
the unit test application is executed as a part of the library's post 
build step.
Ali
    
    
More information about the Digitalmars-d-learn
mailing list