[Cmake] Beginner's questions
Likhachev Igor
Igor.Likhachev at elcoteq.com
Fri, 9 Apr 2004 12:16:52 +0300
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C41E13.65583CF0
Content-Type: text/plain;
charset="koi8-r"
Hello All,
I am looking for a good tool to build my project.
The project's source tree is quite complex and it should be able to compile
on both Win and Linux OSes
however the target platform is another OS(or, perhaps, emulator on the host
OS).
Now I'm trying to use CMake, and it meets most of my needs but I've got a
few questions:
1) Is it possible to specify the path for each source file (group of files )
where *.obj files will be placed?
2) Is it possible to compile the C-source files with extension other than
*.c ( *.g for example ) without using ADD_CUSTOM_COMMAND
3) When I'm including *.c files by using SET() the *.obj files are in
current directory, however when I'm using AUX_SOURCE_DIRECTORY *.obj are
in the same directory where the source files are located. Is it legal
behaviour or I'm doing something wrong?
Thank you in advance
Igor
------_=_NextPart_001_01C41E13.65583CF0
Content-Type: text/html;
charset="koi8-r"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
<META content="MSHTML 5.50.4913.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=741422810-09042004>Hello
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=741422810-09042004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=741422810-09042004>I am looking for a
good tool to build my project.<BR>The project's source tree is quite
complex and it should be able to compile on both Win and Linux OSes<BR>however
the target platform is another OS(or, perhaps, emulator on the host OS).<BR>Now
I'm trying to use CMake, and it meets most of my needs but I've got a few
questions:</SPAN></FONT></DIV><SPAN class=741422810-09042004>
<DIV><BR><FONT face=Arial size=2>1) Is it possible to specify the path for each
source file (group of files ) where *.obj files will be
placed?<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>2) Is it possible to compile the C-source files
with extension other than *.c ( *.g for example ) without using
ADD_CUSTOM_COMMAND<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>3) When I'm including *.c files by using
SET() the *.obj files are in current directory, however when I'm using
AUX_SOURCE_DIRECTORY *.obj are in the same directory where the source
files<SPAN class=741422810-09042004> </SPAN>are <SPAN
class=741422810-09042004>located</SPAN>. Is it legal behaviour or I'm doing
something wrong<SPAN class=741422810-09042004>?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you in advance</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2>Igor </FONT></DIV></BODY></HTML>
<p>
<p>
------_=_NextPart_001_01C41E13.65583CF0--