Skip to content

Commit

Permalink
Change ./test folder references to ./cli
Browse files Browse the repository at this point in the history
  • Loading branch information
bnnm committed Jan 18, 2018
1 parent 94d361b commit 23998b0
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Expand Up @@ -29,9 +29,9 @@ Release
/fb2k/Release
/src/Debug
/src/Release
/test/Debug
/test/Release
/test/*.exe
/cli/Debug
/cli/Release
/cli/*.exe
/winamp/Debug
/winamp/Release
/winamp/*.dll
Expand Down
4 changes: 2 additions & 2 deletions BUILD.md
Expand Up @@ -32,7 +32,7 @@ set PATH=C:\Program Files (x86)\mingw-w64\i686-5.4.0-win32-sjlj-rt_v5-rev0\mingw
cd vgmstream
mingw32-make.exe mingw_test -f Makefile ^
mingw32-make.exe vgmstream_cli -f Makefile ^
VGM_ENABLE_FFMPEG=1 VGM_ENABLE_MAIATRAC3PLUS=0 ^
SHELL=sh.exe CC=gcc.exe AR=ar.exe STRIP=strip.exe DLLTOOL=dlltool.exe WINDRES=windres.exe
```
Expand Down Expand Up @@ -145,14 +145,14 @@ There are no hard coding rules but for consistency should follow general C conve
```
./ docs, scripts
./audacious/ Audacious plugin
./cli/ CLI tools
./ext_includes/ external includes for compiling
./ext_libs/ external libs/DLLs for linking
./fb2k/ foobar2000 plugin
./src/ main vgmstream code and helpers
./src/coding/ format data decoders
./src/layout/ format data demuxers
./src/meta/ format header parsers
./test/ CLI tools
./winamp/ Winamp plugin
./xmplay/ XMPlay plugin
```
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -61,13 +61,13 @@ sourceball:
rm -rf vgmstream-`./version.sh`

bin mingwbin: vgmstream_cli winamp xmplay
zip -FS -j "vgmstream-`./version.sh`-test.zip" COPYING README.md test/test.exe winamp/in_vgmstream.dll xmplay/xmp-vgmstream.dll ext_libs/*.dll
zip -FS -j "vgmstream-`./version.sh`-test.zip" COPYING README.md cli/test.exe winamp/in_vgmstream.dll xmplay/xmp-vgmstream.dll ext_libs/*.dll

vgmstream_cli mingw_test:
$(MAKE) -C test vgmstream_cli
$(MAKE) -C cli vgmstream_cli

vgmstream123:
$(MAKE) -C test vgmstream123
$(MAKE) -C cli vgmstream123

winamp mingw_winamp:
$(MAKE) -C winamp in_vgmstream
Expand All @@ -78,7 +78,7 @@ xmplay mingw_xmplay:
clean:
$(RMF) vgmstream-*.zip
$(MAKE) -C src clean
$(MAKE) -C test clean
$(MAKE) -C cli clean
$(MAKE) -C winamp clean
$(MAKE) -C xmplay clean
$(MAKE) -C ext_libs clean
Expand Down
2 changes: 1 addition & 1 deletion Makefile.autotools.am
Expand Up @@ -3,6 +3,6 @@

AM_MAKEFLAGS=-f Makefile.autotools

SUBDIRS = src audacious test
SUBDIRS = src audacious cli

EXTRA_DIST = version.h
2 changes: 1 addition & 1 deletion cli/test.c
Expand Up @@ -30,7 +30,7 @@ static void make_wav_header(uint8_t * buf, int32_t sample_count, int32_t sample_
static void make_smpl_chunk(uint8_t * buf, int32_t loop_start, int32_t loop_end);

static void usage(const char * name) {
fprintf(stderr,"vgmstream test decoder " VERSION " " __DATE__ "\n"
fprintf(stderr,"vgmstream CLI decoder " VERSION " " __DATE__ "\n"
"Usage: %s [-o outfile.wav] [options] infile\n"
"Options:\n"
" -o outfile.wav: name of output .wav file, default is infile.wav\n"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -66,5 +66,5 @@ AC_OUTPUT([
src/layout/Makefile.autotools
src/meta/Makefile.autotools
audacious/Makefile.autotools
test/Makefile.autotools
cli/Makefile.autotools
])
2 changes: 1 addition & 1 deletion unbootstrap
@@ -1,4 +1,4 @@
#!/bin/sh
# vgmstream autotools script - reverses the actions of bootstrap

rm -rf configure AUTHORS compile depcomp ChangeLog config.guess ltmain.sh README config.sub autom4te.cache Makefile.autotools.in INSTALL missing NEWS aclocal.m4 install-sh audacious/config.h.in audacious/main.loT audacious/Makefile.autotools.in src/Makefile.autotools.in src/coding/Makefile.autotools.in src/meta/Makefile.autotools.in src/layout/Makefile.autotools.in test/Makefile.autotools.in
rm -rf configure AUTHORS compile depcomp ChangeLog config.guess ltmain.sh README config.sub autom4te.cache Makefile.autotools.in INSTALL missing NEWS aclocal.m4 install-sh audacious/config.h.in audacious/main.loT audacious/Makefile.autotools.in src/Makefile.autotools.in src/coding/Makefile.autotools.in src/meta/Makefile.autotools.in src/layout/Makefile.autotools.in cli/Makefile.autotools.in
2 changes: 1 addition & 1 deletion vgmstream.sln
Expand Up @@ -11,7 +11,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "in_vgmstream", "winamp\in_v
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ext_libs", "ext_libs\ext_libs.vcproj", "{10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcproj", "{AF7D88A0-3CB1-4CD8-BAD1-0305EB996D69}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "cli\test.vcproj", "{AF7D88A0-3CB1-4CD8-BAD1-0305EB996D69}"
ProjectSection(ProjectDependencies) = postProject
{54A6AD11-5369-4895-A06F-E255ABB99B11} = {54A6AD11-5369-4895-A06F-E255ABB99B11}
{42D86561-8CE4-40F5-86CE-58C986B77502} = {42D86561-8CE4-40F5-86CE-58C986B77502}
Expand Down
2 changes: 1 addition & 1 deletion vgmstream_full.sln
Expand Up @@ -13,7 +13,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fdk-aac", "..\fdk-aac\msvc\
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mp4v2", "..\qaac\vcproject\mp4v2\mp4v2.vcxproj", "{86A064E2-C81B-4EEE-8BE0-A39A2E7C7C76}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{AF7D88A0-3CB1-4CD8-BAD1-0305EB996D69}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "cli\test.vcxproj", "{AF7D88A0-3CB1-4CD8-BAD1-0305EB996D69}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "in_vgmstream", "winamp\in_vgmstream.vcxproj", "{42D86561-8CE4-40F5-86CE-58C986B77502}"
EndProject
Expand Down

0 comments on commit 23998b0

Please sign in to comment.