Sorry for the half finished email

....
I was using a tutorial1.cpp which was outdated, a flag was added to skip
the include config.h

I suppose I extend the CmakeList you written for opm-core to add opm-parser
..., I mean I can use:
find_package(opm-parser REQUIRED), etc...

Paolo





On Thu, Jun 26, 2014 at 3:36 PM, Paolo Orsini <[email protected]>
wrote:

> Sorry my fault,
> I was using a tutorial1.cpp which was outdates, you added
>
>
>
> On Thu, Jun 26, 2014 at 2:55 PM, Arne Morten Kvarving <
> [email protected]> wrote:
>
>>  On 26/06/14 14:55, Paolo Orsini wrote:
>>
>> Hi Arne,
>>
>>  I looked at and tested the CmakeList you added in the tutorial folder
>> of opm-core.
>>
>>  It looks a great example on how to call the opm library from external
>> software.
>>
>>  The only limitation seems that one still needs to copy the config.h
>> file to the local build folder.
>> What would be the a work around that? Installing the config.h file as
>> well during the opm-core build/install?
>> Not sure...
>>
>>   if an application uses config.h unconditionally, that is a bug. all
>> datas from config.h needed in app space should be in opm-core_DEFINITIONS.
>> ie. config.h should only be used in the source tree.
>> i fixed this up for the tutorials at the same time i added the build
>> system.
>>
>> arnem
>>
>
>
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to