set (glws glws_glx.cpp)
endif (WIN32)
-add_library (trace trace_model.cpp trace_parser.cpp trace_writer.cpp trace_model_writer.cpp ${os})
+add_library (common
+ trace_model.cpp
+ trace_parser.cpp
+ trace_writer.cpp
+ trace_model_writer.cpp
+ image.cpp
+ image_bmp.cpp
+ image_pnm.cpp
+ image_png.cpp
+ ${os}
+)
add_executable (tracedump tracedump.cpp)
-target_link_libraries (tracedump trace)
+target_link_libraries (tracedump common)
install (TARGETS tracedump RUNTIME DESTINATION bin)
glsnapshot.cpp
trace_writer.cpp
image.cpp
+ image_png.cpp
os_posix.cpp
)
)
target_link_libraries (glretrace
- trace
+ common
)
if (WIN32)
##############################################################################
# Packaging
-install (FILES LICENSE README TODO DESTINATION doc)
+install (FILES LICENSE README.markdown TODO.markdown DESTINATION doc)
set (CPACK_PACKAGE_VERSION_MAJOR "1")
set (CPACK_PACKAGE_VERSION_MINOR "0")