You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
826 B
29 lines
826 B
--- a/CMakeLists.txt 2019-01-30 08:37:10.000000000 -0600
|
|
+++ b/CMakeLists.txt 2019-02-28 15:49:07.218026681 -0600
|
|
@@ -17,6 +17,12 @@
|
|
option(INSTALL_MINGW_DEPENDENCIES "Add dependent libraries to MinGW install target" OFF)
|
|
endif()
|
|
|
|
+# Version
|
|
+SET(LIB_MAJOR_VERSION "0")
|
|
+SET(LIB_MINOR_VERSION "19")
|
|
+SET(LIB_REVISION "02")
|
|
+SET(LIB_VERSION "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}.${LIB_REVISION}")
|
|
+
|
|
# Build Type
|
|
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
|
# By default, we use Release
|
|
@@ -103,6 +109,12 @@
|
|
target_link_libraries(FAudio PRIVATE -static-libgcc)
|
|
endif()
|
|
|
|
+# Soname
|
|
+set_target_properties(FAudio PROPERTIES OUTPUT_NAME "FAudio"
|
|
+ VERSION ${LIB_VERSION}
|
|
+ SOVERSION ${LIB_MAJOR_VERSION}
|
|
+)
|
|
+
|
|
# XNA_Song Support
|
|
if(XNASONG)
|
|
target_sources(FAudio PRIVATE src/XNA_Song.c)
|