Stop MSVC 8/9 from moaning

ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
This commit is contained in:
ejcoumans
2007-12-15 03:41:07 +00:00
parent 8feabf889b
commit b8c2cb6f53
3 changed files with 6 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4 ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4
) )
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
ADD_LIBRARY(LibColladaDom ADD_LIBRARY(LibColladaDom
src/1.4/dom/domAccessor.cpp src/1.4/dom/domAccessor.cpp
src/1.4/dom/domAnimation.cpp src/1.4/dom/domAnimation.cpp

View File

@@ -2,6 +2,9 @@ INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include } ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include }
) )
# Prevent MSVC from moaning
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
ADD_LIBRARY(LibXML ADD_LIBRARY(LibXML
c14n.c c14n.c
catalog.c catalog.c

View File

@@ -1,5 +1,6 @@
# This is basically the overall name of the project in Visual Studio this is the name of the Solution File # This is basically the overall name of the project in Visual Studio this is the name of the Solution File
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
# For every executable you have with a main method you should have an add_executable line below. # For every executable you have with a main method you should have an add_executable line below.
# For every add executable line you should list every .cpp and .h file you have associated with that executable. # For every add executable line you should list every .cpp and .h file you have associated with that executable.