[Liblas-commits] hg: For Visual C++, always define _SECURE_SCL=0 for the sake of ...

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Oct 18 12:06:50 EDT 2010


changeset 3a8fdb46138e in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=3a8fdb46138e
summary: For Visual C++, always define _SECURE_SCL=0 for the sake of better optimisation of C++ std components.

diffstat:

 CMakeLists.txt |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r bb131e655373 -r 3a8fdb46138e CMakeLists.txt
--- a/CMakeLists.txt	Thu Oct 14 17:40:34 2010 -0600
+++ b/CMakeLists.txt	Mon Oct 18 17:08:11 2010 +0100
@@ -83,6 +83,7 @@
             add_definitions(-D_CRT_SECURE_NO_WARNINGS)
             add_definitions(-D_CRT_NONSTDC_NO_WARNING)
             add_definitions(-D_SCL_SECURE_NO_WARNINGS)
+            add_definitions(-D_SECURE_SCL=0)
         endif()
         
         if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")


More information about the Liblas-commits mailing list