~stomato463/+junk/nvdajp

« back to all changes in this revision

Viewing changes to nvdaHelper/minHook/sconscript

  • Committer: Masataka Shinke
  • Date: 2011-10-25 12:35:26 UTC
  • mfrom: (4185 jpmain)
  • mto: This revision was merged to the branch mainline in revision 4211.
  • Revision ID: mshinke@users.sourceforge.jp-20111025123526-ze527a2rl3z0g2ky
lp:~nishimotz/nvdajp/main : 4185 をマージ

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Import([
 
2
        'env',
 
3
])
 
4
 
 
5
HDESourceFile='HDE64/src/HDE64.c' if env['TARGET_ARCH']=='x86_64' else 'HDE32/HDE32.c'
 
6
 
 
7
sourceFiles=[
 
8
        HDESourceFile,
 
9
        'buffer.cpp',
 
10
        'export.cpp',
 
11
        'thread.cpp',
 
12
        'trampoline.cpp',
 
13
]
 
14
 
 
15
objFiles=[env.Object('_minHook_%s.obj'%x.replace('/','_'),'#/include/libMinHook/src/%s'%x) for x in sourceFiles]
 
16
objFiles.append(env.Object('newHook.cpp',CPPPATH=['#include/libMinHook/src','${CPPPATH}']))
 
17
 
 
18
minHookLib=env.SharedLibrary('minHook',objFiles+['minHook.def'])
 
19
 
 
20
Return('minHookLib')