|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
NX12.0 二次开发使用VS2012 报错解决方案$ R- k* j" D& q: J' h
严格的讲NX12.0需要使用VS2015进行开发,这里说下如果你是低版本的解决方案,但是不推荐!9 c, i( G" o8 ~8 x9 H" `
(1)安装完后,点击Open Wizard 告诉你创建项目错误
* S! [1 D W W
2 ^ d# K$ ], ~# o, |- s& Z8 ?这种问题就是编译器版本不符合官方的匹配导致的,更改方法很简单
1 P- N: [3 ^7 D7 f% `8 Q- [打开 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects下的NX12_NXOpenCPP.vsz 将
4 j2 }# g, H- X/ n5 wWizard=VsWizard.VsWizardEngine.14.0 中的14 改成11 也就是对应的VS20129 ?) n3 O' b0 E2 t M
" d% {5 ~! v0 `
这样创建的对话框就可以出来了!
1 k/ K' Q% y! V(2)你可能还会遇到路径错误,path not found, 建议对这个文件进行修改,尤其是你有多个版本存在的话,一劳永逸
. h( I9 G4 X b- fC:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\NX11_NXOpenCPP\scripts\1033 下的default.js 文件, w; C3 d" X& t3 K
修改里面的环境变量路径,注意路径是双反斜线 \\,参考如下!/ K% H( w* B/ E( {* h% A
" z6 d+ P, g( Z) {2 K' G9 U2 r4 |//@<DEL>@ TEXT ENCLOSED within delete markers will be REMOVED: [, d) N0 D' k) o$ b/ E
// 09-Jun-2012 Frank Berger Initial Release for VS2010 based on "NX8 Open Wizard"/ w* P# b6 T( s
// 31-Okt-2013 Frank Berger modified for VS2012
5 r; D% u% b' v4 D4 C// 13-Feb-2015 Sudhir Pawar ARCH:11320: Added libufun_die.lib,libufun_vdac.lib & libufun_weld.lib+ C7 P$ c ?# i4 t' C9 W7 _( D
// 21-Dec-2015 Purushottam Thakre Fixed PR#7567548: Call DeletePlatform function to delete 'Win32' platform.' q6 g( @7 o6 S0 z* s
// 08-Jan-2016 Prabhakar Mandlik Fixed PR#7588129: Added /d1scalableinclude- swiTCh.
' ~+ `' S# h9 ^" H; | O" Z// 10-Feb-2016 Purushottam Thakre Fixed PR#7630769: Reverted changes done to fix PR#7567548 which is causing regression& u% E7 b) S' I1 \% S5 l- X# ^
//TEXT ENCLOSED within delete markers will be REMOVED @<DEL>@" ^: u% A1 e2 d3 _# {# A/ T: b
/ O; _ g" V( K. P
function OnFinish(selProj, selObj)
3 z6 G' Z! l- K: o! Q$ w0 P8 S{
5 T0 ?5 G' E% X* G' ` try
9 l W' M& K4 X% _0 y6 ^9 |: k {* Q ~: i6 Q0 G8 q$ J+ g
var bodyTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "body_template.txt";
. M9 ~% P7 G% U1 U var bodyTemplateText = wizard.RenderTemplateToString(bodyTemplateFile);
" `* D$ N" `$ L+ N8 b3 W" u wizard.AddSymbol("BODY_TEMPLATE", bodyTemplateText);! j# v4 z: u- W( e. x( P
. j& u$ T7 ~8 e6 S. I var entryPointsTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "entry_points_template.txt";
/ M9 j. |$ e. O+ l9 F v/ e var entryPointsTemplateText = wizard.RenderTemplateToString(entryPointsTemplateFile);4 W1 Q. D& y# N9 ~+ g& z6 d5 q
wizard.AddSymbol("ENTRY_POINTS_TEMPLATE", entryPointsTemplateText);' Q: p3 K3 J* {0 f( G ]) C
8 c$ F0 ]6 ~9 c. b- b! ?4 s3 {
var unloadOption = "UNLOAD_IMMEDIATELY";6 P0 W& L8 i" f( `" m! h$ A
if ( wizard.FindSymbol( "UF_UNLOAD_UG_TERMINATE" ) )4 _* a2 J6 V/ o* i+ g- x! f
{
+ x2 z) u( h2 e4 D% C unloadOption = "UF_UNLOAD_UG_TERMINATE";! s* W& i7 H; o2 H% K% O
}/ n4 t" u. { n w
else if ( wizard.FindSymbol( "UNLOAD_SEL_DIALOG" ) )- V/ c0 b& @/ S8 H; `
{
) ~9 v$ p- e7 E; Z' e unloadOption = "UF_UNLOAD_SEL_DIALOG";# U0 }& [$ Q$ P6 G
}3 ^) M9 I9 {. e* d2 t5 }
wizard.AddSymbol("UF_UNLOAD_OPTION", unloadOption);
6 ]3 r3 c" L( b% U: D) L' Q; ^) a5 E+ D6 H) H0 R* S* M- f) n
# G' g7 z+ ~: k: U/ }8 f ?
// Assign the project path and project name
& c5 u+ K. \- ?3 T var strProjectPath = wizard.FindSymbol("PROJECT_PATH");
X+ u) c2 f6 T+ y* `/ F3 X. V J. S var strProjectName = wizard.FindSymbol("PROJECT_NAME");) n6 x( V: d- j+ {
var strClassName = wizard.FindSymbol("MAIN_CLASS_NAME");
; M& w+ v2 e5 h6 @ if ( strClassName.length < 1 )
& p, }" w4 j! z8 R {
/ Y/ J' F1 e3 B0 W7 X/ K$ q7 `3 w0 g wizard.AddSymbol("MAIN_CLASS_NAME", "NONAME");
+ P% Y. |. Q4 ? }
0 X2 \' Q: {# e
. S8 I! L% ~- E. c: } // Create the Visual C++ project and call it "NXOpenProj". m9 `+ a4 @/ W+ I# M: H
selProj = CreateProject(strProjectName, strProjectPath);
, f' Y) }7 j: h7 Q0 R// selProj.Object.Keyword = "NXOpenProj"
8 t% k6 ~% t5 Q' \1 r. r$ G2 x
) c ^/ E9 @, _+ F/ p" O // Add common and specific configurations to the project
7 `6 H( v9 c' y- U AddCommonConfig(selProj, strProjectName);
+ P5 l5 Y' a i3 i( q' H AddSpecificConfig(selProj, strProjectName);9 Q3 j/ u( ]' q! u v9 H5 i
// selProj.Object.keyword = "MFCDLLProj";
, {1 a7 p: |7 y) f# J* W; ?( c0 B5 Z8 g- \, o
//Set the project filters
/ I( U# y$ F# ?& ]) B SetupFilters(selProj);
$ D, J& l4 o# o* r+ {* S" `9 C2 I0 j. I* |# \! C) f- n
// Add files to the project from the project's Templates.inf file
' G9 o% d. I6 y0 A* q L AddFilesToProjectWithInfFile(selProj, strProjectName);
* N- o) N. Q- z' _- j) i * J( Q0 ^& S$ k5 h& r) n+ \
selProj.Object.Save();
, U+ }( j% c1 m5 W }6 M8 j' U/ r* m3 S
catch(e)
4 M0 ]6 m( {2 z2 D {2 Z9 H7 d; s% e& }
if (e.description.length != 0)
6 m9 a# M E# R" `( ^. z SetErrorInfo(e);' r1 h4 c' r0 v7 m. g
return e.number
- z7 x" l1 ?9 c* h+ C' ~6 R }
, @# f* u' ]3 K/ ^}
7 K% S% |: A. T4 ?) C8 u
4 K+ q- d, [. j5 J5 q" K/ V8 Rfunction SetFileProperties(projfile, strName)
6 L8 S" S$ b& R, M7 E{1 T9 t* b! `8 ?( f! G+ t$ c
return false;
! {' M- {/ f( |2 w; m6 O( Q m% f- D}
5 ]7 @# n8 a# E7 Z% Q$ b- W ^1 x+ k3 y1 i
function DoOpenFile(strTarget)# N6 x/ R9 ?4 {6 _) r; f1 @8 C& s
{
2 _7 g1 Y4 A& N3 S& T& ` return false;8 G7 t! D5 c! Z! B' g
}
$ n+ ^) x- M. L9 F5 s# N" S4 Q0 X9 K( W2 R, y$ _" J b9 T! u
function GetTargetName(strName, strProjectName, strResPath, strHelpPath)
* I" l+ v$ Q- v, @0 O9 _: s{
/ N3 v0 A \9 ~- D try
: c1 b7 k" N( Y, b( _ {
6 F3 y9 L! \# T; U1 p" w var strTarget = strName;
5 L) N! m9 J2 o& |. ^ if (strName.substr(0, 4) == "root")
% F; W% S, J& z$ @5 n {
3 ~9 q4 z9 n6 \) J: G0 P* D var strlen = strName.length;* J/ C' r) |# c9 ?" f+ d7 ~' k$ a! ]
if (strName == "root.ico" || strName == "root.rc2")
- b( ^6 T; Y. s4 G {( E, V' u, j" V$ B" N: p5 x
var strSafeProjectName = wizard.FindSymbol("SAFE_PROJECT_NAME");* O- _, d V: k. P; I
strSafeTarget = strSafeProjectName + strName.substr(4, strlen - 4);( i1 w( Q% o( y
strTarget = strResPath + "\\" + strSafeTarget;
# t3 _, d' v% z }
& ]+ ^' S. _. L( ?$ ^ else if (strName == "root.txt" )- |+ `7 r. y! p- |! J3 G! b+ ~
{9 E+ R- {1 O5 x% `9 p. i, o
strTarget = strProjectName + ".cpp";
, O6 N( F s* R l }
5 S6 I# b6 U: o1 U, s0 a9 O; T6 Q- O else3 \$ J7 H" k5 D
{- H) j. y$ l! ]( y* V
strTarget = strProjectName + strName.substr(4, strlen - 4);1 S/ W: m, X6 S: S
}! k6 z1 }) j h0 U/ |
return strTarget;
& g/ _0 r7 y$ P }
; t- ?1 q8 P7 W4 I8 n& }: _ B# F) S2 j5 B6 ?/ c' I+ c3 B
switch (strName)* o4 o* b& Z7 n. a8 k) E
{
0 s* y- Z, I/ [3 ^/ ~! u) d case "readme.txt":
8 z0 a. p8 ^. N strTarget = "ReadMe.txt";
- h% {: A& `$ x7 U6 ~( T) k break;& b# u' R2 P# l# U
case "all.rc":
8 s4 O$ l3 n- J0 F9 P7 C case "dlgall.rc":
4 u: r2 `3 W/ d- W! t8 o strTarget = strProjectName + ".rc";
5 k+ e$ R. X* {6 Q) M! k) Z break;
6 R8 }! n. q+ v l$ D1 B1 W/ R2 B case "dlgres.h":
: D( C8 R: x; ~- U; [9 a5 ^( d case "resource.h":
' O3 j( \. b" \( A) P0 L N strTarget = "Resource.h";
& j' x( V3 d8 i- I break;
5 C$ P# U% b1 s" l0 A9 d default:
4 u. [" O' B, F- R2 |0 w4 I0 { break;
; k- |$ B) v2 _& j5 C }. G# f; m' k3 c
return strTarget;
0 t4 D; r* z) c5 Z4 X }8 ?$ e- k7 K. \& V! N
catch(e)8 ^8 @+ i X+ i" @ [$ R; W
{1 T4 v1 ? ~5 N9 P
throw e;6 X# [! T5 {! v# v
}
! @4 V- u( \2 H}
2 g- N/ @0 G, Y
% I6 ~4 e' }0 p* M/ a$ S& pfunction AddSpecificConfig(proj, strProjectName)
3 S, C$ `7 e+ a4 u5 q" u{
6 M s5 t* ]* m" l3 E% v try6 @9 o+ u; l4 S" p r, S9 j2 W
{4 F) H$ i7 Z, A$ `% g
var isDllApp = wizard.FindSymbol("DLL_APPLICATION");
* w* C. E$ Z8 ~) k& G Y var isCxx = true;
8 M3 x! {0 B0 R: h$ y8 M
" q6 ?8 x! i9 k% \$ W6 M) ^ var appType;
# _! p& k2 P2 H1 v9 n5 n var appExtension;. Q1 }5 c2 e# A. ]# Z2 @
! \6 r3 M) t( B proj.ConfigurationManager.AddPlatform("x64", "Win32", true);
9 r' L+ T$ r7 U: n2 C. _% D9 A+ x6 m, l. u9 t
if ( isDllApp )
+ O2 C8 d! B- y: }' J4 S {- H, k0 W) O! C( x$ c/ K
appType = typeDynamicLibrary;
8 u. `( B @+ p$ n6 o appExtension = ".dll";
1 ~( b0 L) b0 j2 ]& e$ _! o }
4 I, d# H) q8 b else
U1 ^4 y7 ^1 G" l$ u% V5 I5 C3 ^ {
4 ~6 @. {' p* y8 f, x; O- e! E8 \ appType = typeApplication;- s8 y% T/ K" Q, E2 }& z$ g
appExtension = ".exe";
% B. I$ V- ~. @& x& D# M# M }
1 L1 g' _, u4 E' e c# t1 y2 ]( c
var linkLibs = "libufun.lib";. V% U$ h/ t2 `- C- `& S
linkLibs += " libufun_cae.lib";
9 N" ^1 E0 _! n3 A" S2 t% P linkLibs += " libufun_cam.lib";
8 g( }# \9 h4 M: n: m9 q linkLibs += " libufun_die.lib";
8 q9 K& m9 `# ~6 ` linkLibs += " libufun_vdac.lib";
' s/ P6 k9 D1 l" \5 ~( ` linkLibs += " libufun_weld.lib";( O# U6 {+ v: X4 V
: M" q4 g8 ], b! f+ t
if ( isCxx)0 r$ M: M. ^* A! F
{, ~' ?" K' }; z ]4 m7 |# R5 m
var wshell = new ActiveXObject("WScript.Shell")% _- t* ^: S4 N6 |2 t
var libpath ="D:\\dsplm\\Siemens\\NX12\\ugopen";
8 f1 Y) x* ^9 n3 w: y- T var Fo =new ActiveXObject("Scripting.FileSystemObject");
$ @" y* M( t8 I! H1 ~* |7 q var FSo = new Enumerator(Fo.GetFolder(libpath).Files);
$ f- D8 j1 ?- ^# j' v* u var nxopencppName = "libnxopencpp";
6 Q0 _( c$ f% ?& I* B3 [) d% W5 J* r A for(; !FSo.atEnd(); FSo.moveNext())
( V Z2 ]$ \( @ {
) ~" Q# z! @+ i! L4 r3 ?" w5 U+ s if(FSo.item().name.match("^"+nxopencppName)==nxopencppName) //check if file name start with libnxopencpp
( L, e, q0 w9 A5 { if(FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase() == "lib") //check if file has '.lib' as an extension& G* g3 \" W+ B0 j: k9 G. _/ x
{* c8 m8 |# Y2 T; B. |
linkLibs = linkLibs + " " + FSo.item().name;
, v+ {$ ^2 v, K3 n* o8 s }
) `3 B, j) v* [) h. t }, {( h w5 I: q1 Z4 Q
}5 N7 @$ n) s2 s/ d( F1 C
6 E# c6 @0 L/ G Z if ( isDllApp )0 f" c2 O- S/ ?/ I! D
{5 ^, O3 e# H2 K
linkLibs += " libugopenint.lib"; `& X6 r: v5 I% g
linkLibs += " libugopenint_cae.lib";
$ w& ]4 ?* N) T linkLibs += " libugopenint_cam.lib";
- R: v) n( Z% h/ O
# z; b8 f1 [" a& K( P. B if ( isCxx)* ]* i0 H* V7 ]- Z
linkLibs += " libnxopenuicpp.lib";
4 c7 }$ T0 g6 D- U7 A" ?* {. g }
! p/ O8 q0 o$ ?
8 v" e# ~# D) r; e //=================================================================
' S& c) e/ n5 m( F% T // Debug Configuration% j0 ]* [' e- M, s% A8 ~! d
//=================================================================
1 g l. i/ P1 K) C' i2 s//LRJ - add x64) a9 S1 ~0 g6 S2 F
var config = proj.Object.Configurations("Debug|x64");
" i) Q) y8 F# N% `0 N( g config.ConfigurationType = appType;
( i9 { {8 E' U: s config.CharacterSet = charSetUnicode; [+ g" I0 e5 i
config.useOfMfc = useMfcStdWin;) W2 v7 o# @1 S ]9 `' [5 ?3 \
9 q) w/ G' o# B& Q% m var CLTool = config.Tools("VCCLCompilerTool");
& w: \. O4 j2 V; A3 x. a var strDefines = GetPlatformDefine(config);
t C Y5 y9 i3 X strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";% ` o# d4 M0 t5 G0 Z* P2 W- c9 J
if ( isDllApp )' f2 u. y1 w& y; X7 |1 L3 u
{9 i3 R3 i9 n: C, H) _& P4 B' W. P- ~
strDefines += ";_USRDLL";; ]6 \. o. S* e) ~' z; J X
}
* n6 p" @! c0 p else2 \3 q2 A. K3 N4 s
{/ c2 X* u- b t/ n6 p
strDefines += ";_CONSOLE";0 H) s1 c9 \: V5 @2 R
}
) v. x% `* [; G% [# b( F( S$ ~! e% X1 G& p- e1 I, Z- f
CLTool.PreprocessorDefinitions = strDefines;
2 T0 N7 J; K! J3 g( ?. p) I/ T5 l2 [$ r4 s* x5 M" V
config.UseOfMFC = useMfcDynamic;
^' h8 D0 l! U, u CLTool.RuntimeLibrary = rtMultiThreadedDLL;$ B3 E4 p4 N S" v% g. l/ q3 x
8 c% p! B5 x2 P# J CLTool.TreatWChar_tAsBuiltInType = true;
0 h/ f4 q& e* \3 _( o CLTool.DebugInformationFormat = debugEnabled;
9 L/ \& }5 v* k! S, R' T* q: ? b* i CLTool.AdditionalIncludeDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
. x5 P1 T* p0 D0 ~8 ^$ f: Y9 _
, H8 j8 e9 [/ @0 S1 f/ m CLTool.RuntimeTypeInfo = 1;
6 t6 M7 k- {6 c CLTool.UsePrecompiledHeader = pchNone;
$ \- L* D3 d) l CLTool.AdditionalOptions = "/d1scalableinclude-";7 G5 F# D6 Q" U6 h8 g& e
) N) v* V- n( [# c% {+ W* B0 n//LRJ - change for X64 - add TargetMachine! @, N: z+ Z& G+ |
var LinkTool = config.Tools("VCLinkerTool");
! [$ a$ T) h& P/ ?( Q( o7 R J LinkTool.TargetMachine = machineAMD64;
$ r, A5 ?8 ]. w" {& G4 u* q LinkTool.LinkIncremental = linkIncrementalYes;
& ?. [/ x4 f8 |% _) H LinkTool.GenerateDebugInformation = true;
3 e M+ U3 I! h* h$ _$ p3 [ LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;
3 [ H9 k, m3 U/ K& O% G if ( isDllApp )2 U% w6 e. A% z( e8 W! D/ W( z
LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";8 D) q9 |7 E }# I7 a4 H' }& }
LinkTool.AdditionalLibraryDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
9 ?. ?' V$ _7 R5 |( l' ]- I# b LinkTool.AdditionalDependencies = linkLibs;
2 R$ V5 {: ~ b' u9 T6 ? LinkTool.SubSystem = subSystemConsole;# \5 r1 V% E" D6 |0 l+ X* L2 ]
//LRJ - add following line for X64 definition
3 r( g% t! T" }0 B8 L; Z% f dte.ExecuteCommand("Build.SolutionPlatforms", "x64");/ H: @0 p8 O" M
8 a$ J9 h7 [+ ~
//=================================================================5 e$ ]( {+ ?' ^4 y6 m: ^- z
// Release Configuration( N1 u9 n+ I2 ^' f
//=================================================================$ U" u. [4 [7 Y% v9 b
//LRJ - add X64 definition to configuration line
% P1 n3 f! e4 G9 I) e; M config = proj.Object.Configurations("Release|x64");
- f$ d+ e4 Q9 E& G config.ConfigurationType = appType;- p# ^0 D& y! V# i, E8 o6 I/ U
config.CharacterSet = charSetUnicode;
- i9 D' r& [& {. _+ m$ j8 g* ^' n config.useOfMfc = useMfcStdWin;, S; C9 @( u, s9 g
3 [+ G; q3 I0 o* p8 F
CLTool = config.Tools("VCCLCompilerTool");
' ^- A( V( d! K6 ? strDefines = GetPlatformDefine(config);
% [" m- L$ q1 Z; e strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";
1 B) h. s0 J! \2 a ~* J; G if ( isDllApp )' A# @! W* F: C0 K
{% n7 ~6 I/ `+ H u
strDefines += ";_USRDLL";
, d9 N5 G; p. e1 x5 ? {1 V }; i, f( g- |) p3 ^2 O- X+ H
else
' S1 Y! i! }+ l {
+ r" ]: M' `! M strDefines += ";_CONSOLE";; O) D' G8 M: g. f5 V. N; h
}5 R) Q2 c8 j! P
- }1 Q' M' @/ @* z7 e CLTool.PreprocessorDefinitions = strDefines;5 Q4 P8 t# ~* n M# X+ ^6 d9 X
0 w: M6 x' q J
config.UseOfMFC = useMfcDynamic;" z, `$ }! v+ h
CLTool.RuntimeLibrary = rtMultiThreadedDLL;4 Y9 A9 r9 Y. |: A: Q# A% p
2 V4 q: }6 h G2 e
CLTool.InlineFunctionExpansion = expandOnlyInline;
/ k a- C# K3 X: `, c; V( {4 a; y CLTool.TreatWChar_tAsBuiltInType = true;0 [8 y, y8 [, x$ P3 o
CLTool.DebugInformationFormat = debugEnabled;
, G5 i1 F. H7 e! Q* ~0 S9 j( l6 w6 e3 v7 v* L2 ~3 R
CLTool.AdditionalIncludeDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
. ?/ C' ?2 A3 R$ P+ ^' H; \
% I: G& N. @$ F CLTool.RuntimeTypeInfo = 1;
/ X. u5 M* f) i9 u9 A) H) M1 D8 g: d CLTool.UsePrecompiledHeader = pchNone;- }3 W4 m2 D8 \! t. J5 n
//CLTool.AdditionalOptions = "/d1scalableinclude-";
8 J; s! _" w `5 [* q6 G" |9 U- {) [1 j2 H8 b0 I1 r+ T( m
LinkTool = config.Tools("VCLinkerTool");
) _6 j/ x: I! _: S1 \6 X0 b. Z//LRJ - add following line for X64 definition/ r. K7 j. O/ ]( b
LinkTool.TargetMachine = machineAMD64;; ?7 M# L( E, |' f2 `5 s' h
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;
4 j0 n& G6 A+ }, K% c8 L& k if ( isDllApp )
7 V; K- E3 ]! l! `# ^8 | LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";; a, w, O. a2 p2 m/ k. i7 l
LinkTool.GenerateDebugInformation = true;' k! G, r% _% G" K2 f+ `4 f; q8 A( T$ l
LinkTool.LinkIncremental = linkIncrementalNo;
Y9 l# i- M m% D" A/ A" R0 h LinkTool.AdditionalLibraryDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
" J4 k$ o7 k/ Q& k8 l) T# E LinkTool.AdditionalDependencies = linkLibs;: W2 @' {# d) Y) v7 A
LinkTool.SubSystem = subSystemConsole; D, N: f8 @6 }1 V/ l4 w; ?
//LRJ - add following line for X64 definition! Q. n+ w( \+ T g* ]
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");) n% u' z q8 b& r* @1 k0 h o3 @ j
}
8 X! t+ ~ b4 |$ A; `% {6 B catch(e)
8 ~ I' g3 U) K {
5 d: b: Q0 E3 p- \ throw e;1 E& d3 @/ }+ }+ N! W+ o- F
}
$ E; ?& {5 [+ c- X& P( U! l4 |: }}
/ s, w0 i. `0 T9 R, P) `
' H! r9 Z2 Z0 X
3 U/ h" y4 ?) \. V' k' a, D% Y" c) S% H4 w
|
|