On Fri, Jun 23, 2017 at 10:28 PM, <jkle...@ucdavis.edu> wrote:

> Could someone elaborate how the CXXFLAGS will look in the .go file?
>
> Is it like
> // #cgo CXXFLAGS: -I/<path to folder>
>
>
>
yes.
more precisely:

// #cgo CXXFLAGS: -I/path/to/some/folder
import "C"

with no blank like between the comment with the preprocessor-like looking
directive and the import of the (meta) package "C".

hth,
-s


>
>
> On Thursday, April 13, 2017 at 4:35:54 PM UTC-7, larry104 wrote:
>>
>>
>>>
>>> CXXFLAGS
>>>
>>> See https://golang.org/cmd/cgo .
>>>
>>> Ian
>>>
>>
>> Cool - that works now like a charm - so much simpler than before - no
>> more 100 line long complicated make file.
>> Thanks a lot for your help!!!
>>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to