2008-03-11 15:57:54 +00:00
|
|
|
add_definitions(-DPCBNEW)
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
include_directories(BEFORE ${INC_BEFORE})
|
|
|
|
include_directories(
|
2014-07-30 09:01:25 +00:00
|
|
|
textures
|
2012-01-23 04:33:36 +00:00
|
|
|
../pcbnew
|
|
|
|
../polygon
|
2014-08-01 21:27:20 +00:00
|
|
|
${GLEW_INCLUDE_DIR}
|
2012-01-23 04:33:36 +00:00
|
|
|
${INC_AFTER}
|
|
|
|
)
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2008-03-11 15:57:54 +00:00
|
|
|
set(3D-VIEWER_SRCS
|
2013-05-16 19:04:21 +00:00
|
|
|
dialogs/dialog_3D_view_option_base.cpp
|
|
|
|
dialogs/dialog_3D_view_option.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
3d_aux.cpp
|
|
|
|
3d_canvas.cpp
|
|
|
|
3d_class.cpp
|
|
|
|
3d_draw.cpp
|
2012-08-26 13:59:55 +00:00
|
|
|
3d_draw_basic_functions.cpp
|
2014-08-04 11:28:29 +00:00
|
|
|
3d_draw_helper_functions.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
3d_frame.cpp
|
2014-07-30 09:01:25 +00:00
|
|
|
3d_material.cpp
|
|
|
|
3d_mesh_model.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
3d_read_mesh.cpp
|
|
|
|
3d_toolbar.cpp
|
2012-08-26 13:59:55 +00:00
|
|
|
info3d_visu.cpp
|
2012-01-23 04:33:36 +00:00
|
|
|
trackball.cpp
|
2013-03-27 18:34:23 +00:00
|
|
|
vrmlmodelparser.cpp
|
2014-07-30 09:01:25 +00:00
|
|
|
vrml_aux.cpp
|
|
|
|
vrml_v1_modelparser.cpp
|
|
|
|
vrml_v2_modelparser.cpp
|
|
|
|
x3dmodelparser.cpp
|
2015-03-15 15:51:56 +00:00
|
|
|
CImage.cpp
|
2015-03-28 11:33:56 +00:00
|
|
|
CBBox.cpp
|
2012-01-23 04:33:36 +00:00
|
|
|
)
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2012-02-08 15:06:06 +00:00
|
|
|
add_library(3d-viewer STATIC ${3D-VIEWER_SRCS})
|
2014-10-07 18:10:01 +00:00
|
|
|
add_dependencies( 3d-viewer pcbcommon )
|