|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
NX12.0 二次开发使用VS2012 报错解决方案: R. k3 L# C* m4 i+ j
严格的讲NX12.0需要使用VS2015进行开发,这里说下如果你是低版本的解决方案,但是不推荐!
, L7 G; ]& C* o! b) B) M(1)安装完后,点击Open Wizard 告诉你创建项目错误; W( t4 o' f6 K- I. v
' j% L9 _" V" t/ M7 J# L这种问题就是编译器版本不符合官方的匹配导致的,更改方法很简单
/ H1 D9 K5 B* s- C# A打开 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects下的NX12_NXOpenCPP.vsz 将! Y- R$ A: W+ ^) k+ M) I& t
Wizard=VsWizard.VsWizardEngine.14.0 中的14 改成11 也就是对应的VS2012
* l8 N6 d+ m/ k
5 I% J& t! K: r6 ?这样创建的对话框就可以出来了!, {4 E% a K. B
(2)你可能还会遇到路径错误,path not found, 建议对这个文件进行修改,尤其是你有多个版本存在的话,一劳永逸' w: W* z) E% @. C9 U: G
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\NX11_NXOpenCPP\scripts\1033 下的default.js 文件
& ^* Z, d, }- `修改里面的环境变量路径,注意路径是双反斜线 \\,参考如下!7 L# x4 C) H5 g
& S4 ~: {7 d( \- K: Z8 Z& M//@<DEL>@ TEXT ENCLOSED within delete markers will be REMOVED
. Q6 N9 O( M" M1 W7 [# T2 T9 }// 09-Jun-2012 Frank Berger Initial Release for VS2010 based on "NX8 Open Wizard"
; S; l3 S1 H5 b5 a- ]% H. F* Z// 31-Okt-2013 Frank Berger modified for VS2012
5 W/ X$ d- B% c y// 13-Feb-2015 Sudhir Pawar ARCH:11320: Added libufun_die.lib,libufun_vdac.lib & libufun_weld.lib
/ b7 K5 ]( d3 F1 Q7 D j" S// 21-Dec-2015 Purushottam Thakre Fixed PR#7567548: Call DeletePlatform function to delete 'Win32' platform.( ^5 y& @- x h- h) ^8 P6 [4 q! u
// 08-Jan-2016 Prabhakar Mandlik Fixed PR#7588129: Added /d1scalableinclude- swiTCh.
" w+ e$ T6 s- |- ?9 J! M" k3 w// 10-Feb-2016 Purushottam Thakre Fixed PR#7630769: Reverted changes done to fix PR#7567548 which is causing regression
7 r$ i$ [$ `4 f) V; D/ R//TEXT ENCLOSED within delete markers will be REMOVED @<DEL>@9 E8 \4 P- Z0 ]$ U: A6 t: Z
' v& K! `5 G0 _# `- x* w! p, `3 ^function OnFinish(selProj, selObj) L. S6 v; o5 h) n
{
P% H) ~" X6 Q# n0 C2 A& F3 V, H try
' V! n' q; a0 `7 P1 l4 V {
9 t* W0 t4 A3 [, I var bodyTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "body_template.txt";
9 S$ @1 f- w+ N" a/ J var bodyTemplateText = wizard.RenderTemplateToString(bodyTemplateFile);& h+ p; x; E& a
wizard.AddSymbol("BODY_TEMPLATE", bodyTemplateText);& r7 }3 ?: q( j3 ]- }
: n$ k/ @, v1 E `9 i$ m
var entryPointsTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "entry_points_template.txt";
5 ?$ G6 I& D' U' a Q2 g3 @ var entryPointsTemplateText = wizard.RenderTemplateToString(entryPointsTemplateFile);. H3 W# f( H" d
wizard.AddSymbol("ENTRY_POINTS_TEMPLATE", entryPointsTemplateText);# ]; ^) O; m" x9 `6 f; h( q' L
0 {( q- D& s7 C% d% c" q
var unloadOption = "UNLOAD_IMMEDIATELY";0 I0 i3 {2 n& r; b
if ( wizard.FindSymbol( "UF_UNLOAD_UG_TERMINATE" ) )2 r' ~6 L$ j$ z y- m7 f$ ], a
{
0 A" z0 }# `! | unloadOption = "UF_UNLOAD_UG_TERMINATE";
* r# [# f8 D* N }
( k& b) V1 u- l! W2 v7 K else if ( wizard.FindSymbol( "UNLOAD_SEL_DIALOG" ) )8 ]) e+ f0 [+ g; T7 {
{
4 e6 f9 c5 Q/ ^) G W& D- y unloadOption = "UF_UNLOAD_SEL_DIALOG";. E+ p0 T. _% |& {
}
: |' A( W4 F8 u: i# r wizard.AddSymbol("UF_UNLOAD_OPTION", unloadOption);. o' z* o" s7 \! j5 |& J. [
. v" n: r: Z1 a$ }
! @% ~0 z& w) X" r* K' N0 u2 G // Assign the project path and project name6 d6 ^7 l( I6 w' C( k6 x1 q
var strProjectPath = wizard.FindSymbol("PROJECT_PATH");0 Z* k5 ~; O+ p6 Q
var strProjectName = wizard.FindSymbol("PROJECT_NAME");4 s! f9 Q* O7 M5 p. I8 x
var strClassName = wizard.FindSymbol("MAIN_CLASS_NAME");' v7 U3 Y% t# @ g7 z
if ( strClassName.length < 1 ) . }: |2 F( z- E( [
{, Y- d" I; x/ ?! d: O5 m3 [
wizard.AddSymbol("MAIN_CLASS_NAME", "NONAME");. I! D( T- ?! z5 z% _5 {$ m' m9 X
}* M# s Y+ n8 ~6 h P) ^
( ^2 Q' M$ e7 B
// Create the Visual C++ project and call it "NXOpenProj"; \$ w( ]7 t, S/ l
selProj = CreateProject(strProjectName, strProjectPath);
M$ G/ y6 {) L+ T' h5 o// selProj.Object.Keyword = "NXOpenProj"
( I5 S/ @: q Y V. P2 @ w# b+ R, S! u( m3 t5 r$ j& Q" E1 Z' Q1 W
// Add common and specific configurations to the project. D( ~: \' p1 D2 R
AddCommonConfig(selProj, strProjectName);2 o3 v; ]4 N9 [; j ^0 b
AddSpecificConfig(selProj, strProjectName);: L. S3 i; E8 F' Q& o% L+ y4 [9 `
// selProj.Object.keyword = "MFCDLLProj";
: P( P4 L/ K- F: ~' C* ~6 I" T$ m: \( g& O1 k: ?9 x
//Set the project filters ) R5 [; a7 h( s% t' t
SetupFilters(selProj);/ K( M7 M8 E. K5 r- Z! K) n
7 o, ^9 [/ F1 _) A5 Z // Add files to the project from the project's Templates.inf file
* \' \+ [, i. v9 h AddFilesToProjectWithInfFile(selProj, strProjectName);3 t, Y1 y; I( f' `
m- s0 T% |0 w6 C5 m" k6 N
selProj.Object.Save();
3 S" H% F, S8 H' U1 F0 f7 l }7 h( c+ }( k2 ^' z
catch(e)
5 b4 i( X1 }( h8 ~5 y9 w4 w# `5 } {4 M7 I- U" }# o% N. u
if (e.description.length != 0)7 G0 A& [- J H0 E$ g' D
SetErrorInfo(e);
2 X$ l, p( J; D' N" ^6 x$ N0 i return e.number0 [ ]- q P9 [9 p- L
}
8 B3 Q& p" [2 T) t& L8 V# c}$ A8 V; J2 `" ^/ c$ l
1 C* S1 v2 b. u. U# L$ f
function SetFileProperties(projfile, strName) Y @4 n" N( \! m$ \, x' c$ j- W
{
1 z; i1 l4 O7 I$ V6 X return false;( D3 T; y6 `& Q/ Y: a" ^* F
}5 V+ G. Y% j- o7 n1 k8 l2 r
, q' Y/ e: O5 W2 e0 x; b" j6 Jfunction DoOpenFile(strTarget)
7 @# O2 }: @* i+ K2 z{
6 ]# [( |& P! t4 J9 h& a return false;
- Z/ M( `3 J, ~" `1 ^}
! N! l7 u% j, S4 a8 ]8 r ^4 c7 a8 g$ s; Y) o
function GetTargetName(strName, strProjectName, strResPath, strHelpPath)6 F: o9 Y. ^" S8 C. W1 L
{
" F" C; x5 K( O# y }8 N try2 A% T: e' q% y4 n7 I
{6 X2 e! u; }4 G7 _# p' W
var strTarget = strName;1 o; ^% ^2 W2 Q* d* ~
if (strName.substr(0, 4) == "root")
4 q5 v6 H- }8 U# l: M {. E W& D7 K% V. ?
var strlen = strName.length;$ X+ `- o6 |! ]/ H
if (strName == "root.ico" || strName == "root.rc2")1 U9 v( G1 u% j U) G, ?7 D* k3 p
{/ }% M7 v8 v5 V; @" B( F* }
var strSafeProjectName = wizard.FindSymbol("SAFE_PROJECT_NAME");
; A& B7 m- Q" s" [ strSafeTarget = strSafeProjectName + strName.substr(4, strlen - 4);
3 A& F0 a3 z* L6 [. j6 m strTarget = strResPath + "\\" + strSafeTarget;
" a+ H, |, z9 |5 [$ d }6 x7 l$ p$ W$ k3 K+ H; X' e
else if (strName == "root.txt" )$ t* Z4 i+ _9 l: p( y7 L$ w( C& Z
{
. f* s @$ C1 u( q% W8 X- n4 @+ T( d strTarget = strProjectName + ".cpp";2 Z5 m$ [! _$ d8 Z
}
9 D; o- J( r1 ]4 T9 M- i1 c* e else9 ?7 ^# L4 N- m# j; p' _; b. j
{! y/ U6 r8 E4 n- n$ P( a0 E, C; F
strTarget = strProjectName + strName.substr(4, strlen - 4);
2 y( [! q" f- k W s1 u% b }" R0 a" ~& O) c
return strTarget;/ Y% B3 P- {0 S, n" ?, \: e( \
}
/ r6 m) _' [- e/ D/ h5 Q/ Y, k. N1 W) T" R2 k2 B9 M
switch (strName)4 ?! R) b3 z2 n" t0 A/ ~) Z
{1 z K# e5 z5 O! u
case "readme.txt":+ r7 N. k+ s1 Z4 U2 H
strTarget = "ReadMe.txt";
3 B' r3 C8 M) W7 T8 v break;
) b$ Q+ _+ A0 m$ F: F case "all.rc":
* H8 W; z k/ `: k, c% c. j% p case "dlgall.rc":8 |9 N4 r& I/ ^: o* E& d
strTarget = strProjectName + ".rc";
/ b- O2 [6 @: R break;
, e3 {4 q0 K* e" D+ C. b5 i, u case "dlgres.h":8 |, A9 m* b* T6 v! N
case "resource.h":7 d. A4 _" ?2 A) z+ l; Y7 P2 Q
strTarget = "Resource.h";
0 }* k1 |" n p8 q/ [ break;' h% s- x& D. D+ x4 y0 m
default:
, `! P9 o# U; k* v+ {1 A2 f* G break;+ K# T7 ]1 L/ [; {
}
* g1 k ]+ C& w% _( m return strTarget;
- r9 z; {& Z7 L. r. L# M& _ }
: L" ^4 o/ q) q1 k catch(e); I: X9 m2 j# U' k
{
7 @$ G: U" }9 g8 y throw e;. W2 b6 d% m3 n5 D7 e! \
}! p. T$ |$ a w+ ~" c q1 \5 ?+ Q
}6 x* D9 h/ q# T6 L& K
, Q2 l2 U, d' jfunction AddSpecificConfig(proj, strProjectName)
3 Y$ h' E: ?1 {" a# `{8 {) [/ i; c9 `, [5 ~' A2 r# a
try; A" V" m. ^! D, ~
{9 R2 E$ W X: f. I* T
var isDllApp = wizard.FindSymbol("DLL_APPLICATION");
- ?/ g3 O* m8 D4 u0 o/ I var isCxx = true;
; x% L: X+ |1 G* y
- W. ^6 a3 d/ o* h S var appType; `. a+ j1 y j h: l7 G
var appExtension;
8 S" t: S# l- k. T% p0 R
8 }' C5 i, a( A proj.ConfigurationManager.AddPlatform("x64", "Win32", true);
, q# Y7 h6 H( o9 q+ R. P& G& s7 n4 `1 p, z+ _' y5 N
if ( isDllApp )$ O! a& _, W; P/ `
{
2 t9 {& w. @& V& P appType = typeDynamicLibrary;
& O2 g. U5 w; }% b% m0 ] appExtension = ".dll";
, R! W8 I% D2 R3 R# J: M7 l }
* U) ?- E( b5 F& [' `% L7 g6 L else/ @# M8 k. L" j- K! e% q7 `
{
7 P( `5 c3 w& L appType = typeApplication;
( D B+ J7 B. e4 t5 j appExtension = ".exe";
! N7 b* ~; l% [$ j( L }
+ S c/ B# B4 G+ b, c# {
' o" n8 Q9 z: w) J var linkLibs = "libufun.lib";
9 W/ {$ |) m4 ~ linkLibs += " libufun_cae.lib";
! _; h+ d6 O! p3 `2 S) P linkLibs += " libufun_cam.lib";
- G6 l! h& F# m1 g' _2 X linkLibs += " libufun_die.lib";' u I, D5 |2 D- c
linkLibs += " libufun_vdac.lib";
# E/ T$ r0 N% U0 M, E6 A8 w% x linkLibs += " libufun_weld.lib";
" W0 F3 \" G8 t" e' u; G, n5 f% e0 l8 e- U8 D
if ( isCxx)
% h5 w/ ]; b, m, r% M$ U {
" g) L" i( E. i% F$ y! s7 Y var wshell = new ActiveXObject("WScript.Shell")4 x5 x, ?: g9 U* d' C3 C! U: f+ g7 R6 m& e
var libpath ="D:\\dsplm\\Siemens\\NX12\\ugopen";
' L4 u9 C; L: ?' U" s% C# O# \ var Fo =new ActiveXObject("Scripting.FileSystemObject");
1 k, I, Y2 B, v }6 y- E7 M var FSo = new Enumerator(Fo.GetFolder(libpath).Files);
$ {8 C& J" Y' a! ?+ q/ P, t var nxopencppName = "libnxopencpp";
& m5 [$ H$ H: \7 P, b for(; !FSo.atEnd(); FSo.moveNext()); ]. Y, `- q. p a$ _/ w7 x5 |
{' ~8 B* O+ Y2 H6 N# A t3 Q
if(FSo.item().name.match("^"+nxopencppName)==nxopencppName) //check if file name start with libnxopencpp" k Q- }3 ]- K/ j) k( o
if(FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase() == "lib") //check if file has '.lib' as an extension0 ]4 R# W2 W, I2 m2 ^% j8 W
{; ~5 d4 }7 E+ ]- |) w
linkLibs = linkLibs + " " + FSo.item().name;2 u9 E9 ]5 A1 \0 v$ D! _ B! M
}1 h$ z Y5 h: @* |* |9 ~
}) M7 c* _* w( v; y7 ~, i
}8 F/ E& d- A& M3 V
; o2 f. N# f* Y# q if ( isDllApp )6 v( ~& M4 }& ^, l& X* r [+ d+ x. i
{: Z$ B& B+ |$ B& d1 P1 k
linkLibs += " libugopenint.lib";
- f: F0 M* T+ L/ _* A9 [ linkLibs += " libugopenint_cae.lib";& W9 H# e) a9 k' ]( Q
linkLibs += " libugopenint_cam.lib";
9 ?5 f ]( R# h
0 i2 [5 Z3 l- ? if ( isCxx)
% S9 `5 {' v# p: c" j5 ` linkLibs += " libnxopenuicpp.lib";* o. |! P' r9 r
}) T+ N& H% N5 N1 y
/ c- ~; F0 X' F //=================================================================
' `; E! ^, J* r/ e9 @: S9 D7 U // Debug Configuration
9 b, e) c; i( t+ y: r$ {- l' O //=================================================================! u0 `# H t. M3 w- S
//LRJ - add x64
" s' V( q5 Q+ U! |8 e6 }7 o; _6 k var config = proj.Object.Configurations("Debug|x64");
) R' R3 E( @3 {, M- b/ j( p% `; e* R config.ConfigurationType = appType;
9 [% n; K8 ?' I' x$ i$ |3 H- } config.CharacterSet = charSetUnicode;
5 T) Z4 {; a4 C x& W config.useOfMfc = useMfcStdWin; J) ?+ n( t& K* x! P/ M% k
3 a8 W: K! j1 X9 T
var CLTool = config.Tools("VCCLCompilerTool");
" k% h& H% y* Q var strDefines = GetPlatformDefine(config);) o5 t0 n6 x% o% _0 y2 x
strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";
0 o0 ^8 k" R% O2 \ if ( isDllApp )& x( D# h. U+ e3 i' {8 D! N
{
7 d- W: |$ [' ?0 T U$ ~! p strDefines += ";_USRDLL";1 b$ K8 I& j0 K$ i7 i* x
}' y' n- ?( H; {6 T
else% c) L# o' t' J) _2 M
{* I% v- Y, E/ H4 f8 z. F) X. V, X2 Z
strDefines += ";_CONSOLE";/ J2 Y3 i' E- i& s4 H
}: |( d& R! M0 J: Y2 H3 e
1 c$ k: } K9 m6 ?0 D) f CLTool.PreprocessorDefinitions = strDefines;7 [# [# g L$ X7 K% q& ?
* s2 `0 A5 j$ m$ o7 ^
config.UseOfMFC = useMfcDynamic;
. Z0 u. s& V/ j+ ]0 x CLTool.RuntimeLibrary = rtMultiThreadedDLL;
6 v6 r: l( W% i N" f( X: {$ A7 X& |% }. V4 e% v y* b+ ]3 M9 b
CLTool.TreatWChar_tAsBuiltInType = true;4 ?3 H! z$ a7 v( {1 ^
CLTool.DebugInformationFormat = debugEnabled;
- ]) T6 L+ g6 G* E CLTool.AdditionalIncludeDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
& x- m% N; u4 m; z
/ \$ }# M3 S) D, y3 z, B1 J' Q! } CLTool.RuntimeTypeInfo = 1;0 i; W# H% S8 F( ~7 Q
CLTool.UsePrecompiledHeader = pchNone;! v/ j# t) }! W1 C, h
CLTool.AdditionalOptions = "/d1scalableinclude-";0 d0 W5 n2 h/ w! g, M3 a
, g3 ]1 x- B* f2 y4 ~& I! j
//LRJ - change for X64 - add TargetMachine1 r, I" O" o+ A8 t5 V
var LinkTool = config.Tools("VCLinkerTool");
9 o. f) \ s3 U3 p0 C LinkTool.TargetMachine = machineAMD64;
! Q" g, f" Q' ~ U$ k/ Y* k LinkTool.LinkIncremental = linkIncrementalYes;
/ V2 `3 l1 {8 \- C ^2 U LinkTool.GenerateDebugInformation = true;. p* }! H) X+ f# F: `5 \- \
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;
" N+ r7 r) z3 p/ U% q8 P if ( isDllApp ); V- k4 M: x/ q' I0 A, l
LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";
: n: c2 A' T8 }* e: g LinkTool.AdditionalLibraryDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";4 S0 n% ?$ `% f/ f1 B- ]! P
LinkTool.AdditionalDependencies = linkLibs;+ V& e* `" ]! U) D
LinkTool.SubSystem = subSystemConsole;
' P/ U: q) S V' M3 U) ~& I//LRJ - add following line for X64 definition
( C8 E9 j5 I, W. p- V" n dte.ExecuteCommand("Build.SolutionPlatforms", "x64");
4 {, t, v* f: m( I9 g
g' [; k8 e8 B0 T* j7 H$ l0 L //=================================================================4 H2 T; ^; V; u( l U' A8 r& A
// Release Configuration
8 i/ C' {! u- E) [6 ~- M; ?6 X9 n //=================================================================
& a9 s H( A8 p4 R//LRJ - add X64 definition to configuration line
, S/ \* @9 k6 L2 k: M config = proj.Object.Configurations("Release|x64");+ Q9 F! f; x0 q8 {' K
config.ConfigurationType = appType;
9 w9 V$ q# l/ N b d. v2 @ config.CharacterSet = charSetUnicode;
0 v( t8 k7 F; e" n5 u5 Z config.useOfMfc = useMfcStdWin; I1 [# n) B$ X: g
3 a# c' C) i* d. v% F; S CLTool = config.Tools("VCCLCompilerTool");
) e9 z8 `* d, t9 R5 C1 Q$ R; i strDefines = GetPlatformDefine(config);
8 r% B+ V) J6 [ strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";9 I, w6 V: L: [
if ( isDllApp )3 O# ?' D6 }* f6 d$ S+ S2 l% {' E
{; e9 x; ?" M. F$ s+ T. ^
strDefines += ";_USRDLL";
- o9 {6 B6 v! } }: v% X* y1 v# V `6 E
else
& z* _$ N1 w, J F& C) v { q( y" d& o) G' k) w
strDefines += ";_CONSOLE";
3 @0 R9 i4 O" l5 x e" _ }
' S4 {4 t' y" P( v; y/ C3 K, {0 Y/ i7 s! F, L- t4 [% A5 i
CLTool.PreprocessorDefinitions = strDefines;# E7 y0 x o' O3 n/ p1 `3 ^+ z. X
- Y. u) _1 R- Y9 i% T+ H
config.UseOfMFC = useMfcDynamic;+ K4 l' }) j) U( g. R4 ]
CLTool.RuntimeLibrary = rtMultiThreadedDLL;
; ^. P. O; x4 p1 `( d- k% k9 _8 y- e2 ]/ G4 `
CLTool.InlineFunctionExpansion = expandOnlyInline;7 r4 C( [1 q5 q2 |- n* @, `: @
CLTool.TreatWChar_tAsBuiltInType = true;! t5 P/ p1 C& Y) N
CLTool.DebugInformationFormat = debugEnabled;$ }# w2 V y; s u( R9 Q
' i1 s$ g$ E! Y, ?5 l
CLTool.AdditionalIncludeDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
' U% @3 w" _2 N% {
8 R; X5 P% o; [/ M" k CLTool.RuntimeTypeInfo = 1;
* P# q0 c! j" V- h1 M" `. \ CLTool.UsePrecompiledHeader = pchNone;
! _8 Y# g: c/ b5 k) F, z( n* H //CLTool.AdditionalOptions = "/d1scalableinclude-";$ y: C6 R) e' Z3 }& r/ A2 F6 e
5 v" A5 f& ^! g5 W# W2 n# i
LinkTool = config.Tools("VCLinkerTool");
# e( l$ j" ]: {3 a//LRJ - add following line for X64 definition
: n: u, J! Z& n5 P+ w8 F5 Q. k LinkTool.TargetMachine = machineAMD64;$ t; b _& o6 n2 `- m1 `
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;/ d4 _- y3 y# m5 N5 V$ H6 E8 m
if ( isDllApp )4 _5 p( r/ ?2 m5 S, |0 `( V% R
LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";3 B2 S( X: |' o0 t; h4 Q+ E4 s
LinkTool.GenerateDebugInformation = true;2 h' N- ?; m* Z7 x1 r0 L
LinkTool.LinkIncremental = linkIncrementalNo;6 ^4 K5 e% F. s1 j) i r: y G. W( W. b! A
LinkTool.AdditionalLibraryDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";! Q8 O; e3 |/ R' [' K! O
LinkTool.AdditionalDependencies = linkLibs;
8 T% S/ j4 m5 ?6 ~1 b! |5 \ LinkTool.SubSystem = subSystemConsole;
( ?3 \8 S/ @5 _+ |: U, o//LRJ - add following line for X64 definition1 K% L: B! t! C3 t) J( L
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");& A" q" i6 L+ K* \0 P2 K
}9 z7 L7 @: B! U& H7 B* w
catch(e)8 f; W4 ]( B1 O
{
. ]; V0 O) A( } throw e;1 z- z K* k8 z+ Y" s7 `$ ?; g
}6 S, {$ c4 W( d: o
}! Q6 l$ P2 d& J5 l" L* F* y6 @ D
5 J3 o( S9 ?2 f0 j; O& d" [
9 k$ }; h& M8 s3 b5 L7 Y% M6 Q
$ ^) W$ B4 {+ Y, G' K, ]
|
|