[LLVMbugs] [Bug 13194] New: cmake's use of CMAKE_BUILD_TYPE is too rigid, everything should be tweakable using flags

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 25 01:01:18 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13194

             Bug #: 13194
           Summary: cmake's use of CMAKE_BUILD_TYPE is too rigid,
                    everything should be tweakable using flags
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


In my opinion, whether optimization is turned on, debug info is turned on,
assertions are turned on etc should all be settable via flags, eg by doing
-DLLVM_ENABLE_OPTIMIZATION=true.  The CMAKE_BUILD_TYPE should just exist as
a convenient way of giving the flags a standard set of values.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list