Add CMakeLists for panda/pnmimage
This commit is contained in:
parent
c000d2c19b
commit
f0076da3c0
|
|
@ -13,6 +13,7 @@ add_subdirectory(src/linmath)
|
|||
add_subdirectory(src/event)
|
||||
add_subdirectory(src/mathutil)
|
||||
add_subdirectory(src/gsgbase)
|
||||
add_subdirectory(src/pnmimage)
|
||||
|
||||
#add_subdirectory(src/gobj)
|
||||
#add_subdirectory(src/pgraph)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
set(P3PNMIMAGE_HEADERS
|
||||
config_pnmimage.h
|
||||
pfmFile.I pfmFile.h
|
||||
pnmbitio.h
|
||||
pnmBrush.h pnmBrush.I
|
||||
pnmFileType.h pnmFileTypeRegistry.h pnmImage.I
|
||||
pnmImage.h pnmImageHeader.I pnmImageHeader.h
|
||||
pnmPainter.h pnmPainter.I
|
||||
pnmReader.I
|
||||
pnmReader.h pnmWriter.I pnmWriter.h pnmimage_base.h
|
||||
ppmcmap.h
|
||||
)
|
||||
|
||||
set(P3PNMIMAGE_SOURCES
|
||||
config_pnmimage.cxx
|
||||
pfmFile.cxx
|
||||
pnm-image-filter.cxx
|
||||
pnmbitio.cxx
|
||||
pnmBrush.cxx
|
||||
pnmFileType.cxx
|
||||
pnmFileTypeRegistry.cxx pnmImage.cxx pnmImageHeader.cxx
|
||||
pnmPainter.cxx
|
||||
pnmReader.cxx pnmWriter.cxx pnmimage_base.cxx
|
||||
ppmcmap.cxx
|
||||
)
|
||||
|
||||
if(HAVE_EIGEN)
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
composite_sources(p3pnmimage P3PNMIMAGE_SOURCES)
|
||||
add_library(p3pnmimage ${P3PNMIMAGE_HEADERS} ${P3PNMIMAGE_SOURCES})
|
||||
target_link_libraries(p3pnmimage p3mathutil)
|
||||
target_interrogate(p3pnmimage ALL)
|
||||
|
|
@ -35,6 +35,7 @@
|
|||
#include "pandabase.h"
|
||||
#include <math.h>
|
||||
#include "cmath.h"
|
||||
#include "thread.h"
|
||||
|
||||
#include "pnmImage.h"
|
||||
#include "pfmFile.h"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "pnmBrush.h"
|
||||
#include "pnmImage.h"
|
||||
#include "config_pnmimage.h"
|
||||
#include "cmath.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "pnmPainter.h"
|
||||
#include "pnmBrush.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: PNMPainter::Constructor
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
#define PNMPAINTER_H
|
||||
|
||||
#include "pandabase.h"
|
||||
#include "pnmBrush.h"
|
||||
|
||||
class PNMImage;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue