[geos-devel] c++0x and Makefile.am (was: Doubts)

Sandro Santilli strk at keybit.net
Thu Jun 27 04:49:50 PDT 2013

On Thu, Jun 27, 2013 at 04:55:09PM +0530, vishal tiwari wrote:
> Hey,
> I want to use unordered_set STL in one of my methods, but in order to use
> it, i need to add -std=c++0x as a compilation option. I want to know where
> should i add it in the makefile.

Requiring a c++0x capable compiler would be a big change, can you avoid it ?

> Also if i add a new file, how do i add it in a makefile? I have tried to
> add its name in "lib[something]_la_SOURCES = " of Makefile.am , but i don't
> see the corresponding .o or .lo files created.

For a new file in an existing lib you just add to the existing
[whatever]_la_SOURCES variable of Makefile.am, only you must
be sure to run ./autogen.sh afterwards, and then ./configure again.


More information about the geos-devel mailing list