<!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.7654.12">
<TITLE>novice question about set of CMAKE_C_COMPILE_OBJECT variable</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>This is a novice question, sorry. I have inherited a cmake build that is giving me trouble. Specifically this line might be at fault in a CMakeLists.txt file:<BR>
<BR>
set(CMAKE_C_COMPILE_OBJECT "${target_compiler} -c <FLAGS> -o <OBJECT>")<BR>
<BR>
I understand what CMAKE_C_COMPILE_OBJECT is doing, and what ${target_compiler} is set to, but I don't understand what <FLAGS> will be set to, and when it will be set. For that matter, although the syntax of <FLAGS> looks like it is a variable to be substituted, but what kind of variable is it? I can't seem to find any discussion of this in the documentation on cmake, including the book, that discuss this syntax of variables, the set command, etc.<BR>
<BR>
More specifically, I suspect that <FLAGS> is getting set to values that are incompatible with the ${target_compiler}, but I don't know that for certain. How can I find out? For example, is there a way to display the value <FLAGS> is getting, even if it means modifying the CMakeLists.txt to do so?<BR>
<BR>
-David</FONT>
</P>
</BODY>
</HTML>