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

vishal tiwari hi.vishal123 at gmail.com
Thu Jun 27 12:57:34 PDT 2013


I think i can avoid using unordered_set.

Thanks,

On 27 June 2013 17:19, Sandro Santilli <strk at keybit.net> wrote:

> 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.
>
>    Thanks

> --strk;
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>



-- 
Vishal Tiwari
Undergraduate
Computer Science and Engineering
Lab for Spatial Informatics
IIIT-Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20130628/70d1aecb/attachment.html>


More information about the geos-devel mailing list