From: José Fonseca Date: Sat, 2 Jul 2011 13:16:37 +0000 (+0100) Subject: Rename static library from trace to common. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=49ff44d6c90f330232e7d2c92e94c20a8f13a862;p=apitrace Rename static library from trace to common. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d66871..1b10b7e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,10 +155,16 @@ else (WIN32) 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 + ${os} +) add_executable (tracedump tracedump.cpp) -target_link_libraries (tracedump trace) +target_link_libraries (tracedump common) install (TARGETS tracedump RUNTIME DESTINATION bin) @@ -345,7 +351,7 @@ set_property ( ) target_link_libraries (glretrace - trace + common ) if (WIN32) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 40f4b49..6973450 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -51,7 +51,7 @@ add_definitions(-DBUILD_DIR="${CMAKE_BINARY_DIR}") add_executable(qapitrace ${qapitrace_SRCS} ${qapitrace_UIS_H}) -target_link_libraries(qapitrace trace ${QJSON_LIBRARIES} ${QT_LIBRARIES} ) +target_link_libraries(qapitrace common ${QJSON_LIBRARIES} ${QT_LIBRARIES} ) ########### install files ###############