root/juggler/branches/2.2/modules/sonix/sonix.fpc.in

Revision 20617, 1.9 kB (checked in by patrick, 1 year ago)

Use the actual version numbers for the Juggler modules instead of relying
on substitution at build time. I decided to do this because I do not feel
like making build_windows.py more complicated than it already is. The
issue is that the variable containing the module version (such as
GADGET_VERSION) gets used in two different contexts on Windows:

  1. In the substitution of @GADGET_VERSION@ in the generation of the .fpc
    files.
  2. As an environment variable used to set the version component of the
    DLL name in the Visual C++ build.

If it weren't for #2, we could use the major.minor.micro form for these
substitutions in the same way that we do on non-Windows platforms.

That said, doing the version requirements this way for Flagpoll is not so
bad. Given the goal of having binary compatibility between 2.2.x patch
releases, these requirements settings are perfectly valid. It's just messy.

  • Property svn:eol-style set to native
Line 
1 ########################### Private Variables ############################
2 prefix= ${fp_file_cwd}/../..
3 exec_prefix = ${prefix}
4
5 VERSION_DOT = @VERSION_DOT@
6
7 ISA = @ISA@
8 ABI = @ABI@
9 MAJOR_VERSION = @MAJOR_VERSION@
10 MINOR_VERSION = @MINOR_VERSION@
11 MICRO_VERSION = @MICRO_VERSION@
12 LIBBITSUF = @LIBBITSUF@
13 PLATFORM = @PLATFORM@
14 snx_version = ${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
15
16 topdir = @topdir@
17 data_subdir = @data_subdir@
18
19 JUGGLERROOT_ABS = @JUGGLERROOT_ABS@
20
21 APP_BASE_DIR = @APP_BASE_DIR@
22 APP_BASE_DIR_INST = @APP_BASE_DIR_INST@
23
24
25 USE_GCC = @USE_GCC@
26 includedir = @includedir@
27 libdir = @libdir@
28
29
30 static_begin = @static_begin@
31 static_end = @static_end@
32
33 snx_cxxflags = @snx_cxxflags@
34
35 snx_ldflags = @snx_ldflags@
36 snx_libs = @snx_libs@
37 snx_prof_libs = @snx_prof_libs@
38
39 snx_extra_cxxflags = @snx_extra_cxxflags@
40
41 snx_header_subdir = @snx_header_subdir@
42 snx_data_subdir   = @snx_data_subdir@
43 snx_plugin_subdir = @snx_plugin_subdir@
44 ########################### Public Variables ############################
45
46 ######################### Standard Flagpoll Variables ###################
47
48 Name: Sonix
49 Description: Sonix provides simple audio sound objects on top of several audio APIs. The interface to Sonix is kept very simple in order to get people up and running with sound as fast as possible.
50 URL: http://www.vrjuggler.org/sonix/
51 Version: ${snx_version}
52 Provides: sonix
53 Requires: vpr >= 2.0 vpr < 2.1 gmtl >= @MIN_GMTL_VERSION@
54 Arch: ${ISA}
55 Cflags: ${snx_cxxflags} ${snx_extra_cxxflags} -I${includedir}
56 Libs: ${snx_ldflags} ${snx_libs}
57 Libs.private:
58
59 ######################### Sonix Specific Flagpoll Variables ###################
60 libs: ${snx_ldflags} ${snx_libs}
61 static_libs: ${static_begin} ${snx_ldflags} ${snx_libs} ${static_end}
62 profiled_libs: ${libs} ${snx_prof_libs}
63 profiled_static_libs: ${static_begin} ${libs} ${snx_prof_libs} ${static_end}
64
65 snx_header_subdir: ${snx_header_subdir}
66 snx_data_subdir: ${snx_data_subdir}
67 snx_plugin_subdir: ${snx_plugin_subdir}
Note: See TracBrowser for help on using the browser.