cmake: add solid header files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8854 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 01ae91a8a678155ea46a1878fb11ef30cef22ef4 Former-commit-id: b3263d93b47c58369bf4284efc6c79c53318e7e9
This commit is contained in:
parent
c69895b78e
commit
0890b90eeb
1 changed files with 6 additions and 1 deletions
|
@ -5,9 +5,14 @@ SET(SOLID_SOURCES Transform.cpp Convex.cpp Box.cpp Cone.cpp Cylinder.cpp
|
|||
Complex.cpp BBoxTree.cpp Endpoint.cpp Object.cpp
|
||||
Response.cpp RespTable.cpp C-api.cpp)
|
||||
|
||||
SET(SOLID_HEADERS Transform.h Convex.h Box.h Cone.h Cylinder.h
|
||||
Sphere.h Simplex.h Polygon.h Polyhedron.h
|
||||
Complex.h BBoxTree.h Endpoint.h Object.h
|
||||
Response.h RespTable.h)
|
||||
|
||||
INCLUDE_DIRECTORIES(BEFORE ../include)
|
||||
|
||||
SD_ADD_LIBRARY(solid STATIC ${SOLID_SOURCES})
|
||||
SD_ADD_LIBRARY(solid STATIC ${SOLID_SOURCES} ${SOLID_HEADERS})
|
||||
|
||||
IF(UNIX)
|
||||
SET_TARGET_PROPERTIES(solid PROPERTIES COMPILE_FLAGS -fPIC)
|
||||
|
|
Loading…
Reference in a new issue