Add a default CompilerCapabilities.h
This file assumes that the compiler doesn't support anything. If building without CMake, it will be used and if you want to enable things, the file can be edited. When using CMake, a proper CompilerCapabilites.h will be generated and CMake will set the include path order correctly in order to source the correct file.
This commit is contained in:
@ -39,7 +39,7 @@ MACRO(CREATE_TEST headerfile sourcefile executablename)
|
||||
SET_PROPERTY(TARGET ${executablename} PROPERTY FOLDER "Tests")
|
||||
ENDMACRO(CREATE_TEST)
|
||||
|
||||
INCLUDE_DIRECTORIES(${PolyVox_SOURCE_DIR}/PolyVoxCore/include ${PolyVoxCore_BINARY_DIR}/include ${CMAKE_CURRENT_BINARY_DIR})
|
||||
INCLUDE_DIRECTORIES(${PolyVoxCore_BINARY_DIR}/include ${PolyVox_SOURCE_DIR}/PolyVoxCore/include ${CMAKE_CURRENT_BINARY_DIR})
|
||||
REMOVE_DEFINITIONS(-DQT_GUI_LIB) #Make sure the tests don't link to the QtGui
|
||||
|
||||
# Test Template. Copy and paste this template for consistant naming.
|
||||
|
Reference in New Issue
Block a user