Show bonus/malus timer text if available
[ryzomcore.git] / nel / src / 3d / driver / direct3d / CMakeLists.txt
blobd74bdeceb73d39a2c3f3bd955c0c13e0b0382ecd
1 FILE(GLOB SRC *.cpp *.h *.def *.rc)
3 NL_TARGET_DRIVER(nel_drv_direct3d_win ${SRC})
5 INCLUDE_DIRECTORIES(BEFORE ${DXSDK_INCLUDE_DIR})
7 TARGET_LINK_LIBRARIES(nel_drv_direct3d_win nel3d nelmisc ${DXSDK_D3DX9_LIBRARY} ${DXSDK_D3D9_LIBRARY})
9 NL_DEFAULT_PROPS(nel_drv_direct3d_win "NeL, Driver, Video: Direct3D")
10 NL_ADD_RUNTIME_FLAGS(nel_drv_direct3d_win)
11 NL_ADD_LIB_SUFFIX(nel_drv_direct3d_win)
13 ADD_DEFINITIONS(-DRIVER_DIRECT3D_EXPORTS)
15 IF(WITH_PCH)
16   ADD_NATIVE_PRECOMPILED_HEADER(nel_drv_direct3d_win ${CMAKE_CURRENT_SOURCE_DIR}/stddirect3d.h ${CMAKE_CURRENT_SOURCE_DIR}/stddirect3d.cpp)
17 ENDIF()
19 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC_DRIVERS) OR NOT WITH_STATIC_DRIVERS)
20   INSTALL(TARGETS nel_drv_direct3d_win LIBRARY DESTINATION ${NL_DRIVER_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} RUNTIME DESTINATION ${NL_DRIVER_PREFIX} COMPONENT drivers3d)
21   IF(WITH_MAXPLUGIN)
22     INSTALL(TARGETS nel_drv_direct3d_win RUNTIME DESTINATION maxplugin COMPONENT drivers3d)
23   ENDIF()
24 ENDIF()