View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000163CMakepublic2003-08-26 12:102003-10-30 13:48
ReporterBill Hoffman 
Assigned ToBrad King 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000163: TRY_COMPILE does not document OUTPUT_VARIABLE
Description/cygdrive/c/Program\ Files/CMake/bin/cmake --help TRY_COMPILE
 TRY_COMPILE
      Try compiling some code.

        TRY_COMPILE(RESULT_VAR bindir srcdir
                    projectName <CMAKE_FLAGS <Flags>>)

      Try compiling a program. Return the success or failure in RESULT_VAR.
      If <target name> is specified then build just that target otherwise
      the all or ALL_BUILD target is built.

        TRY_COMPILE(RESULT_VAR bindir srcfile
                    <CMAKE_FLAGS <Flags>>
                    <COMPILE_DEFINITIONS <flags> ...>)

      Try compiling a srcfile. Return the success or failure in RESULT_VAR.
      CMAKE_FLAGS can be used to pass -DVAR:TYPE=VALUE flags to cmake. The
      COMPILE_DEFINITIONS are -Ddefinition that will be passed to the
      compile line. If srcfile is specified the files in bindir/CMakeTmp
      are cleaned.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0000209)
Brad King (manager)
2003-10-30 13:47

Fixed in CVS:
Checking in cmTryCompileCommand.h;
/cvsroot/CMake/CMake/Source/cmTryCompileCommand.h,v <-- cmTryCompileCommand.h
new revision: 1.13; previous revision: 1.12
done
(0000210)
Brad King (manager)
2003-10-30 13:48

Fix has been merged to 1.8 branch for 1.8.2 release.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team