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

           Summary: NDEBUG is defined in debug configuration for Visual
                    Studio projects
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I generated Visual Studio 2010 projects from cmake. However, I've found that
NDEBUG is defined in the debug configurations. Note that all other release
configurations also have this NDEBUG define.

So, we can't correctly use DEBUG macro in "Support\Debug.h". Even in the debug
configuration, DEBUG macro did not expand as in an optimized build
configuration.

It is very tedious to delete NDEBUG defines in every project files. Could you
resolve by fixing CMake configuration?

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to