build: clean up CMakeLists.txt and install pdb files alongside dlls
This commit is contained in:
parent
077442ca4c
commit
59a583d8c7
@ -8,21 +8,23 @@ set (HEADERS
|
|||||||
gstextractcolor.h)
|
gstextractcolor.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${GSTREAMER_BASE_INCLUDE_DIR}
|
|
||||||
${GSTREAMER_VIDEO_INCLUDE_DIR}
|
|
||||||
${ORC_INCLUDE_DIR})
|
${ORC_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library (libgstextractcolor MODULE
|
set (libname libgstextractcolor)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries (libgstextractcolor
|
target_link_libraries (${libname}
|
||||||
|
${ORC_LIBRARIES}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY})
|
||||||
${ORC_LIBRARIES})
|
|
||||||
|
|
||||||
install (TARGETS libgstextractcolor
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
LIBRARY DESTINATION lib/gstreamer-1.0)
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
@ -7,19 +7,20 @@ set (SOURCES
|
|||||||
set (HEADERS
|
set (HEADERS
|
||||||
gstvideolevels.h)
|
gstvideolevels.h)
|
||||||
|
|
||||||
include_directories(AFTER
|
set (libname libgstvideoadjust)
|
||||||
. )
|
|
||||||
|
|
||||||
add_library (libgstvideoadjust MODULE
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries (libgstvideoadjust
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
${GSTREAMER_VIDEO_LIBRARY})
|
${GSTREAMER_VIDEO_LIBRARY})
|
||||||
|
|
||||||
install (TARGETS libgstvideoadjust
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install (TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
@ -12,11 +12,13 @@ set(HEADERS
|
|||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${EDT_INCLUDE_DIR})
|
${EDT_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library(libgstedt MODULE
|
set (libname libgstedt)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries(libgstedt
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
@ -24,5 +26,7 @@ target_link_libraries(libgstedt
|
|||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${EDT_LIBRARIES})
|
${EDT_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS libgstedt
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
LIBRARY DESTINATION lib/gstreamer-1.0)
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
@ -7,21 +7,23 @@ set ( HEADERS
|
|||||||
gsteuresyssrc.h)
|
gsteuresyssrc.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
.
|
|
||||||
${EURESYS_INCLUDE_DIR})
|
${EURESYS_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library ( libgsteuresys MODULE
|
set (libname libgsteuresys)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries ( libgsteuresys
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
${GSTREAMER_INTERFACE_LIBRARY}
|
|
||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${EURESYS_LIBRARIES})
|
${EURESYS_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgsteuresys
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install (TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
@ -7,21 +7,23 @@ set ( HEADERS
|
|||||||
gstframelinksrc.h)
|
gstframelinksrc.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${IMPERX_FLEX_INCLUDE_DIR}
|
${IMPERX_FLEX_INCLUDE_DIR})
|
||||||
.)
|
|
||||||
|
|
||||||
add_library ( libgstimperxflex MODULE
|
set (libname libgstimperxflex)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries ( libgstimperxflex
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
${GSTREAMER_INTERFACE_LIBRARY}
|
|
||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${IMPERX_FLEX_LIBRARIES})
|
${IMPERX_FLEX_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstimperxflex
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
LIBRARY DESTINATION lib/gstreamer-1.0)
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
@ -7,20 +7,23 @@ set ( HEADERS
|
|||||||
gstniimaq.h)
|
gstniimaq.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
.
|
|
||||||
${NIIMAQ_INCLUDE_DIR})
|
${NIIMAQ_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library ( libgstimaq MODULE
|
set (libname libgstimaq)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries ( libgstimaq
|
target_link_libraries (${libname}
|
||||||
general ${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
general ${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
general ${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
general ${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
general ${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
general ${NIIMAQ_LIBRARIES} )
|
${NIIMAQ_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstimaq
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
@ -7,10 +7,11 @@ set(HEADERS
|
|||||||
gstniimaqdx.h)
|
gstniimaqdx.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
.
|
|
||||||
${NIIMAQDX_INCLUDE_DIR})
|
${NIIMAQDX_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library(libgstniimaqdx MODULE
|
set (libname libgstniimaqdx)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
@ -19,7 +20,7 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|||||||
set (NIIMAQDX_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/win64/niimaqdx.lib")
|
set (NIIMAQDX_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/win64/niimaqdx.lib")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
target_link_libraries(libgstniimaqdx
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
@ -27,5 +28,7 @@ target_link_libraries(libgstniimaqdx
|
|||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${NIIMAQDX_LIBRARIES})
|
${NIIMAQDX_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstniimaqdx
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
@ -7,21 +7,23 @@ set ( HEADERS
|
|||||||
gstphoenixsrc.h)
|
gstphoenixsrc.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${PHOENIX_INCLUDE_DIR}
|
${PHOENIX_INCLUDE_DIR})
|
||||||
.)
|
|
||||||
|
|
||||||
add_library ( libgstphoenix MODULE
|
set (libname libgstphoenix)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries ( libgstphoenix
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
${GSTREAMER_BASE_LIBRARY}
|
${GSTREAMER_BASE_LIBRARY}
|
||||||
${GSTREAMER_INTERFACE_LIBRARY}
|
|
||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${PHOENIX_LIBRARIES})
|
${PHOENIX_LIBRARIES})
|
||||||
|
|
||||||
install (TARGETS libgstphoenix
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
@ -7,14 +7,15 @@ set(HEADERS
|
|||||||
gstpixcisrc.h)
|
gstpixcisrc.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${XCLIB_INCLUDE_DIR}
|
${XCLIB_INCLUDE_DIR})
|
||||||
.)
|
|
||||||
|
|
||||||
add_library(libgstpixci MODULE
|
set (libname libgstpixci)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries(libgstpixci
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
@ -22,5 +23,7 @@ target_link_libraries(libgstpixci
|
|||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${XCLIB_LIBRARIES})
|
${XCLIB_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS libgstpixci
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
LIBRARY DESTINATION lib/gstreamer-0.10)
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
@ -7,14 +7,15 @@ set(HEADERS
|
|||||||
gstsaperasrc.h)
|
gstsaperasrc.h)
|
||||||
|
|
||||||
include_directories (AFTER
|
include_directories (AFTER
|
||||||
${SAPERA_INCLUDE_DIR}
|
${SAPERA_INCLUDE_DIR})
|
||||||
.)
|
|
||||||
|
|
||||||
add_library(libgstsapera MODULE
|
set (libname libgstsapera)
|
||||||
|
|
||||||
|
add_library (${libname} MODULE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS})
|
${HEADERS})
|
||||||
|
|
||||||
target_link_libraries(libgstsapera
|
target_link_libraries (${libname}
|
||||||
${GLIB2_LIBRARIES}
|
${GLIB2_LIBRARIES}
|
||||||
${GOBJECT_LIBRARIES}
|
${GOBJECT_LIBRARIES}
|
||||||
${GSTREAMER_LIBRARY}
|
${GSTREAMER_LIBRARY}
|
||||||
@ -22,5 +23,7 @@ target_link_libraries(libgstsapera
|
|||||||
${GSTREAMER_VIDEO_LIBRARY}
|
${GSTREAMER_VIDEO_LIBRARY}
|
||||||
${SAPERA_LIBRARIES})
|
${SAPERA_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS libgstsapera
|
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
|
||||||
|
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
|
||||||
|
install(TARGETS ${libname}
|
||||||
LIBRARY DESTINATION lib/gstreamer-1.0)
|
LIBRARY DESTINATION lib/gstreamer-1.0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user