Changeset 10853 for OpenSceneGraph/trunk/src/osgPlugins/3ds/CMakeLists.txt
- Timestamp:
- 12/04/09 12:31:04 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/3ds/CMakeLists.txt
r9998 r10853 1 # List of C files to be compiled as C++ (else CMake sets ".c" to be compiled as pure C) 2 SET(C_FILES 3 lib3ds/lib3ds_io.c # Modified to support OSG endianness 4 ) 5 1 6 SET(TARGET_SRC 2 7 ReaderWriter3DS.cpp 3 atmosphere.cpp 4 background.cpp 5 camera.cpp 6 chunk.cpp 7 ease.cpp 8 file.cpp 9 lib3ds_float.cpp 10 light.cpp 11 material.cpp 12 matrix.cpp 13 mesh.cpp 14 node.cpp 15 quat.cpp 16 readwrite.cpp 17 shadow.cpp 18 tcb.cpp 19 tracks.cpp 20 vector.cpp 21 viewport.cpp 8 WriterNodeVisitor.cpp 9 WriterCompareTriangle.cpp 10 11 ${C_FILES} 12 lib3ds/lib3ds_atmosphere.c 13 lib3ds/lib3ds_background.c 14 lib3ds/lib3ds_camera.c 15 lib3ds/lib3ds_chunk.c 16 lib3ds/lib3ds_chunktable.c 17 lib3ds/lib3ds_file.c 18 lib3ds/lib3ds_light.c 19 lib3ds/lib3ds_material.c 20 lib3ds/lib3ds_math.c 21 lib3ds/lib3ds_matrix.c 22 lib3ds/lib3ds_mesh.c 23 lib3ds/lib3ds_node.c 24 lib3ds/lib3ds_quat.c 25 lib3ds/lib3ds_shadow.c 26 lib3ds/lib3ds_track.c 27 lib3ds/lib3ds_util.c 28 lib3ds/lib3ds_vector.c 29 lib3ds/lib3ds_viewport.c 22 30 ) 23 31 SET(TARGET_H 24 atmosphere.h 25 background.h 26 camera.h 27 chunk.h 28 chunktable.h 29 config.h 30 ease.h 31 file.h 32 lib3ds_float.h 33 light.h 34 material.h 35 matrix.h 36 mesh.h 37 node.h 38 quat.h 39 readwrite.h 40 shadow.h 41 tcb.h 42 tracks.h 43 types.h 44 vector.h 45 viewport.h 32 WriterNodeVisitor.h 33 WriterCompareTriangle.h 34 lib3ds/lib3ds.h 35 lib3ds/lib3ds_impl.h 46 36 ) 47 37 #### end var setup ### 48 38 SETUP_PLUGIN(3ds) 39 ADD_DEFINITIONS( -DLIB3DS_STATIC ) # lib3ds is included, so we need the flag 40 SET_SOURCE_FILES_PROPERTIES(${C_FILES} PROPERTIES LANGUAGE "CXX") # Force some files to be compiled as C++
