Re: Delphi language support in CMake build system
- From: "eric.lemings@xxxxxxxxx" <eric@xxxxxxxxxxx>
- Date: Mon, 20 Oct 2008 08:45:13 -0700 (PDT)
On Oct 17, 11:53 pm, Rob Kennedy <m...@xxxxxxxxxxx> wrote:
eric.lemi...@xxxxxxxxx wrote:....
make CMake aware of this.
What, in particular, does CMake need to be aware of?
After CMake finds the Delphi compiler (or any language compiler/
translator/interpreter for that matter), it does a sanity check by
building a small program in that language. Without having to
customize
a lot of CMake's internal scripting, the tool, by default, will assume
a
typical C/C++ compile/link cycle to build a simple test program.
Example (on most Unix systems):
$ ls
a.c
$ cat a.c
int main () { return 0; }
$ cc -c a.c
$ ls
a.c a.o
$ cc a.o -o a
$ ls
a a.c a.o
$ ./a
$ echo $?
0
This doesn't really apply to Delphi since, AFAICT, there is no way to
compile and then link a simple Delphi program. (There probably is and
I'm just not aware of it. Assuming there is, could someone post an
example, complete with build commands? If there isn't, I'll have to
do a lot more customization of CMake's internal scripting.)
Thanks,
Eric.
.
- Follow-Ups:
- References:
- Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Re: Delphi language support in CMake build system
- From: Rob Kennedy
- Delphi language support in CMake build system
- Prev by Date: Re: Delphi language support in CMake build system
- Next by Date: Re: Delphi language support in CMake build system
- Previous by thread: Re: Delphi language support in CMake build system
- Next by thread: Re: Delphi language support in CMake build system
- Index(es):
Relevant Pages
|