Update ADD_DEPENDENCIES calls

Update for the static and dynamic options and add
some more calls for PolyVoxUtil and the tests.
This commit is contained in:
Matt Williams
2011-04-24 14:50:13 +02:00
parent ac0fb2b310
commit fce8089264
3 changed files with 18 additions and 3 deletions

View File

@ -37,6 +37,7 @@ IF(BUILD_STATIC_LIBRARIES)
IF(MSVC)
SET_TARGET_PROPERTIES(PolyVoxUtilStatic PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports
ENDIF(MSVC)
ADD_DEPENDENCIES(PolyVoxUtilStatic PolyVoxCoreStatic)
ENDIF()
IF(BUILD_DYNAMIC_LIBRARIES)
ADD_LIBRARY(PolyVoxUtilDynamic SHARED ${UTIL_SRC_FILES} ${UTIL_INC_FILES})
@ -47,6 +48,7 @@ IF(BUILD_DYNAMIC_LIBRARIES)
IF(MSVC)
SET_TARGET_PROPERTIES(PolyVoxUtilDynamic PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports
ENDIF(MSVC)
ADD_DEPENDENCIES(PolyVoxUtilDynamic PolyVoxCoreDynamic)
ENDIF()
#Install