This repository was archived by the owner on Aug 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ cmake_minimum_required(VERSION 2.8)
2
2
3
3
project (wds CXX )
4
4
5
+ set (WDS_VERSION_MAJOR 0 )
6
+ set (WDS_VERSION_MINOR 1 )
7
+ set (WDS_VERSION_PATCH 0 )
8
+
5
9
enable_testing ()
6
10
7
11
include (GNUInstallDirs )
8
12
13
+ add_subdirectory (data )
9
14
add_subdirectory (libwds/rtsp )
10
15
add_subdirectory (libwds/common )
11
16
add_subdirectory (libwds/source )
Original file line number Diff line number Diff line change
1
+ configure_file (wds.pc.in wds.pc @ONLY )
2
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /wds.pc
3
+ DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig )
Original file line number Diff line number Diff line change
1
+ prefix=@CMAKE_INSTALL_PREFIX@
2
+ exec_prefix=${prefix}
3
+ libdir=${prefix}/@LIB_INSTALL_DIR@
4
+ includedir=${exec_prefix}/include
5
+
6
+ Name: @CMAKE_PROJECT_NAME@
7
+ Description: Library to build Miracast/WiDi-enabled applications
8
+ Version: @WDS_VERSION_MAJOR@.@WDS_VERSION_MINOR@.@WDS_VERSION_PATCH@
9
+ Libs: -L${libdir} -lwds
10
+ Cflags: -I${includedir}/wds
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ add_library(wds
7
7
$< TARGET_OBJECTS:wdscommon>
8
8
$< TARGET_OBJECTS:wdssink>
9
9
$< TARGET_OBJECTS:wdssource> )
10
- set_target_properties (wds PROPERTIES SOVERSION 1 )
10
+ set_target_properties (wds PROPERTIES
11
+ VERSION ${WDS_VERSION_MAJOR} .${WDS_VERSION_MINOR}.${WDS_VERSION_PATCH}
12
+ SOVERSION ${WDS_VERSION_MAJOR} )
11
13
12
14
install (TARGETS wds LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
13
15
You can’t perform that action at this time.
0 commit comments