<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>multiple command binaries</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=LTR><FONT SIZE=2 FACE="Arial">Hello!</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">I want to procompile some oracle pl/sql files with the proC compiler.</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">The problem is that I want to compile different targets for different oracle versions from the same sources.</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">The different proC compilers for the oracle versions resists in different directories.</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">I tried to define a target property and used it in a custom command but it doesn't work as aspected.</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">FIND_PROGRAM(PROC9 proc PATHS d:/ora91/bin/ /oracle/product/)</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">FIND_PROGRAM(PROC10 proc PATHS /oracle/product/10.2/bin/proc d:/oracle/10g/)</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">SET_TARGET_PROPERTIES(mylibora9i PROPERTIES PROC_BIN ${PROC9})</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">SET_TARGET_PROPERTIES(mylibora10g PROPERTIES PROC_BIN ${PROC10})</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">ADD_CUSTOM_COMMAND(</FONT></P>

<P DIR=LTR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">COMMAND ${PROC_BIN}</FONT></P>

<P DIR=LTR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">....)&nbsp;&nbsp; </FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">Any ideas how to solve this?</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">Thanks in advance</FONT></P>

<P DIR=LTR><FONT SIZE=2 FACE="Arial">Gabriel</FONT></P>

</BODY>
</HTML>