I just find it... it works with something like this.. but now I have an 
error with EHs not being compatible with /clr 

{
  'targets': [
    {
      'target_name': 'EventLog',
      'conditions': [
          ['OS=="win"', {
            'msvs_settings': {
                'VCCLCompilerTool': {                  
                  'RuntimeTypeInfo':'true',
                  'RuntimeLibrary':'MultiThreadedDLL'
                }
            },
            'msbuild_settings': {
              'ClCompile': {
                'CompileAsManaged':'true'
              }
            }
          }]
      ],
      'include_dirs': ['.'],
      'sources': [
        'src/EventLog.cpp'
      ]
    }
  ]
}

On Thursday, January 31, 2013 9:29:03 AM UTC-3, José F. Romaniello wrote:
>
> Is there a way to configure de binding.gyp in order to use /clr option in 
> msbuild.
>
> I am getting this error when I try to build
>
> ..\src\myaddon.cpp(3): fatal error C1190: managed targeted code requires a 
> '/clr' option
>
> thanks
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to