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

Revision 20617, 2.5 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 tweek_version = ${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
15
16 topdir = @topdir@
17 data_subdir = @data_subdir@
18
19 CXX_IDL_CMD = @CXX_IDL_CMD@
20 tweek_idlflags_cxx = @tweek_idlflags_cxx@
21 tweek_idl_inc_flag_cxx = @tweek_idl_incflag_cxx@
22 tweek_idlgendir_cxx = @tweek_idlgendir_cxx@
23 BUILD_CXX = @BUILD_CXX@
24 tweek_extra_cxxflags = @tweek_extra_cxxflags@
25 tweek_extra_include_dirs = @tweek_extra_include_dirs@
26 includedir = @includedir@
27 tweek_cxxflags = @tweek_cxxflags@
28 tweek_share_dir = ${prefix}/@TWEEK_SHARE_DIR@
29 static_begin = @static_begin@
30 static_end = @static_end@
31 tweek_ldflags = @tweek_ldflags@
32 tweek_prof_libs = @tweek_prof_libs@
33 tweek_libs = @tweek_libs@
34 tweek_extra_ldflags = @tweek_extra_ldflags@
35
36 extra_libs = ${tweek_extra_ldflags}
37
38 tweek_header_subdir = @tweek_header_subdir@
39 tweek_data_subdir   = @tweek_data_subdir@
40 ########################### Public Variables ############################
41
42 ######################### Standard Flagpoll Variables ###################
43 Name: Tweek
44 Description: Tweek is a portable GUI for applications. The Tweek GUI can be run in virtual environments, external on a palm top, or on the desktop next to a running application. Each of these methods gives a familier 2D widget set that can control applications flexibly.
45 URL: http://www.vrjuggler.org/tweek/
46 Version: ${tweek_version}
47 Provides: tweek tweek-c++
48 Requires: @CXX_ORB_DEPS@ vpr >= 2.0 vpr < 2.1
49 Arch: ${ISA}
50 Libs: ${tweek_ldflags} ${tweek_libs} ${extra_libs}
51 Libs.private:
52 Cflags: ${tweek_cxxflags} ${tweek_extra_cxxflags} -I${includedir} ${tweek_extra_include_dirs}
53
54
55 ######################### Tweek-Specific Flagpoll Variables ###################
56
57 cxx_api_available: ${BUILD_CXX}
58 libs: ${libs} ${tweek_libs}
59 extra_libs: ${extra_libs}
60 static_libs: ${static_begin} ${libs} ${tweek_libs} ${static_end}
61 profiled_libs: ${tweek_ldflags} ${tweek_prof_libs} ${extra_libs}
62 profiled_static_libs: ${static_begin} ${tweek_prof_libs} ${static_end}
63 cxx_idl: ${CXX_IDL_CMD}
64 cxx_idlflags: ${tweek_idlflags_cxx}
65 cxx_idlgendir: ${tweek_idlgendir_cxx}
66 cxx_idlincflag: ${tweek_idl_inc_flag_cxx}
67
68 tweek_app_defs_file: ${tweek_share_dir}/tweek.appdefs.mk
69
70 tweek_header_subdir: ${tweek_header_subdir}
71 tweek_data_subdir: ${tweek_data_subdir}
Note: See TracBrowser for help on using the browser.