103 lines
1.7 KiB
CMake
103 lines
1.7 KiB
CMake
# -*- cmake -*-
|
|
|
|
project(llmath)
|
|
|
|
include(00-Common)
|
|
include(LLCommon)
|
|
|
|
include_directories(
|
|
${LLCOMMON_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(llmath_SOURCE_FILES
|
|
llbbox.cpp
|
|
llbboxlocal.cpp
|
|
llcalc.cpp
|
|
llcalcparser.cpp
|
|
llcamera.cpp
|
|
llcoordframe.cpp
|
|
llline.cpp
|
|
llmatrix3a.cpp
|
|
llmodularmath.cpp
|
|
llperlin.cpp
|
|
llquaternion.cpp
|
|
llrect.cpp
|
|
llrigginginfo.cpp
|
|
llsdutil_math.cpp
|
|
llsphere.cpp
|
|
llvector4a.cpp
|
|
llvolume.cpp
|
|
llvolumemgr.cpp
|
|
llvolumeoctree.cpp
|
|
m3math.cpp
|
|
m4math.cpp
|
|
raytrace.cpp
|
|
v2math.cpp
|
|
v3color.cpp
|
|
v3dmath.cpp
|
|
v3math.cpp
|
|
v4color.cpp
|
|
v4coloru.cpp
|
|
v4math.cpp
|
|
xform.cpp
|
|
)
|
|
|
|
set(llmath_HEADER_FILES
|
|
CMakeLists.txt
|
|
|
|
camera.h
|
|
coordframe.h
|
|
llbbox.h
|
|
llbboxlocal.h
|
|
llcalc.h
|
|
llcalcparser.h
|
|
llcamera.h
|
|
llcoord.h
|
|
llcoordframe.h
|
|
llinterp.h
|
|
llline.h
|
|
llmath.h
|
|
llmatrix3a.h
|
|
llmatrix3a.inl
|
|
llmodularmath.h
|
|
lloctree.h
|
|
llperlin.h
|
|
llplane.h
|
|
llquantize.h
|
|
llquaternion.h
|
|
llquaternion2.h
|
|
llquaternion2.inl
|
|
llrect.h
|
|
llrigginginfo.h
|
|
llsdutil_math.h
|
|
llsimdmath.h
|
|
llsimdtypes.h
|
|
llsimdtypes.inl
|
|
llsphere.h
|
|
lltreenode.h
|
|
llvector4a.h
|
|
llvector4a.inl
|
|
llvector4logical.h
|
|
llvolume.h
|
|
llvolumemgr.h
|
|
llvolumeoctree.h
|
|
m3math.h
|
|
m4math.h
|
|
raytrace.h
|
|
v2math.h
|
|
v3color.h
|
|
v3dmath.h
|
|
v3math.h
|
|
v4color.h
|
|
v4coloru.h
|
|
v4math.h
|
|
xform.h
|
|
)
|
|
|
|
set_source_files_properties(${llmath_HEADER_FILES}
|
|
PROPERTIES HEADER_FILE_ONLY TRUE)
|
|
|
|
list(APPEND llmath_SOURCE_FILES ${llmath_HEADER_FILES})
|
|
|
|
add_library (llmath ${llmath_SOURCE_FILES})
|