added build files for iff library (binary Interchange File Format)
This commit is contained in:
9
Extras/iff/CMakeLists.txt
Normal file
9
Extras/iff/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/Extras/iff
|
||||
)
|
||||
|
||||
ADD_LIBRARY(LibIff
|
||||
iff.h
|
||||
iffr.cpp
|
||||
iffw.cpp
|
||||
)
|
||||
12
Extras/iff/Jamfile
Normal file
12
Extras/iff/Jamfile
Normal file
@@ -0,0 +1,12 @@
|
||||
SubInclude TOP Extras iff iffCheck ;
|
||||
|
||||
SubDir TOP Extras iff ;
|
||||
|
||||
Library iff : [ Wildcard . : */.h *.cpp ] : noinstall ;
|
||||
CFlags iff : [ FIncludes $(TOP)/Extras/iff ] ;
|
||||
LibDepends iff : ;
|
||||
|
||||
MsvcIncDirs iff :
|
||||
"../../Extras/iff" ;
|
||||
|
||||
InstallHeader [ Wildcard *.h ] : iff ;
|
||||
@@ -77,13 +77,14 @@ void IFFCheck(char *name)
|
||||
printf("%s\n", IFFPMessages[-iffp]);
|
||||
}
|
||||
|
||||
void main(int argc, char **argv)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc != 1+1) {
|
||||
printf("Usage: 'iffcheck filename'\n");
|
||||
exit(0);
|
||||
}
|
||||
IFFCheck(argv[1]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ---------- Put... ---------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user