rexjw / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

project.h finish by a .in? #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trunk include folder have a broken file name (/include/mp4v2/project.h.in) 

What is the expected output? What do you see instead?
/include/mp4v2/project.h

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.
Checkout the latest project and see and I can fix it by renaming it.

Original issue reported on code.google.com by stest...@gmail.com on 17 Nov 2010 at 8:19

GoogleCodeExporter commented 9 years ago
Are you compiling with Windows or some other platform?  There is a project.h 
file which is under the VS folders, but I believe the .in file is used for *nix 
compilation?  Sorry, I may have more time to figure it out later, but from 
looking through source control I think both are required and likely correct.

Original comment by kid...@gmail.com on 18 Nov 2010 at 11:24

GoogleCodeExporter commented 9 years ago
project.h is a file created at configure-time and stores various project meta 
information for use in the API. it defines various macros used to identify 
mp4v2 version, some strings for official project name, spelling, etc.

for *nix you need not ever check this file in anywhere. it is always generated 
by configure using input file project.h.in the source (repository) and 
project.h is generated, which is placed in the build (output) tree. create an 
empty build dir, run configure, and examine the files produced. project.h will 
be there.

except vstudio (MSVC) builds are a bit of a headache in that configure is not 
used on that platform. however, project.h is still required. thus in the past 
the hack is to generate project.h on unix every once in a while, and overwrite 
vstudio9.0's copy with the latest project.h -- vstudio9.0's IDE configuration 
is setup to search it's include dir. 

Original comment by Kona8l...@gmail.com on 19 Nov 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Resolving, this is by design.

Original comment by kid...@gmail.com on 29 Jan 2011 at 2:48