Make it work slightly better in Windows.
I tried with MinGW in Qt Creator and it now compiles. There's a crash though, possibly due to the TypeDef.h stuff. I need to recompile Qt in VS before I can try it in VS 2010.
This commit is contained in:
		| @@ -73,9 +73,9 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include) | ||||
| #Build | ||||
| ADD_LIBRARY(PolyVoxCore SHARED ${CORE_SRC_FILES} ${CORE_INC_FILES} ${IMPL_SRC_FILES} ${IMPL_INC_FILES}) | ||||
| SET_TARGET_PROPERTIES(PolyVoxCore PROPERTIES VERSION ${POLYVOX_VERSION} SOVERSION ${POLYVOX_VERSION_MAJOR}) | ||||
| IF(WIN32) | ||||
| 	SET_TARGET_PROPERTIES(PolyVoxCore PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports | ||||
| ENDIF(WIN32) | ||||
| IF(MSVC) | ||||
|         SET_TARGET_PROPERTIES(PolyVoxCore PROPERTIES COMPILE_FLAGS "/wd4251") #Disable warning on STL exports | ||||
| ENDIF(MSVC) | ||||
|  | ||||
| #Install | ||||
| IF(WIN32) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user