nvidia-texture-tools/src/nvmath/CMakeLists.txt

26 lines
586 B
CMake
Raw Normal View History

2007-04-17 08:49:19 +00:00
PROJECT(nvmath)
SET(MATH_SRCS
nvmath.h
2011-10-11 06:40:40 +00:00
Box.h Box.inl
Color.h Color.inl
Fitting.h Fitting.cpp
Gamma.h Gamma.cpp
Half.h Half.cpp
2018-02-06 02:55:07 +00:00
Matrix.h Matrix.inl Matrix.cpp
2011-10-11 06:40:40 +00:00
Plane.h Plane.inl Plane.cpp
SphericalHarmonic.h SphericalHarmonic.cpp
2012-02-14 18:00:47 +00:00
SimdVector.h SimdVector_SSE.h SimdVector_VE.h
2011-10-11 06:40:40 +00:00
Vector.h Vector.inl)
2007-04-17 08:49:19 +00:00
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
2020-04-05 19:20:35 +00:00
ADD_LIBRARY(nvmath ${MATH_SRCS})
2007-04-17 08:49:19 +00:00
TARGET_LINK_LIBRARIES(nvmath ${LIBS} nvcore)
2007-07-01 08:52:38 +00:00
INSTALL(TARGETS nvmath
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static)