mirror of
				https://github.com/taglib/taglib.git
				synced 2025-11-04 00:36:54 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			935 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			935 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
TagLib Installation
 | 
						|
===================
 | 
						|
 | 
						|
TagLib uses the CMake build system. As a user, you will most likely want to
 | 
						|
build TagLib in release mode and install it into a system-wide location.
 | 
						|
This can be done using the following commands:
 | 
						|
 | 
						|
  cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_RELEASE_TYPE=Release .
 | 
						|
  make
 | 
						|
  sudo make install
 | 
						|
 | 
						|
Some file formats in TagLib are not enabled by default, you can compile
 | 
						|
support for MP4 and WMA using the following options:
 | 
						|
 | 
						|
  cmake -DWITH_MP4=ON -DWITH_ASF=ON [...]
 | 
						|
 | 
						|
In order to build the included examples, use the BUILD_EXAMPLES option:
 | 
						|
 | 
						|
  cmake -DBUILD_EXAMPLES=ON [...]
 | 
						|
 | 
						|
If you want to run the test suite to make sure TagLib works properly on your
 | 
						|
system, you need to have cppunit installed. The test suite has a custom target
 | 
						|
in the build system, so you can run the tests using make:
 | 
						|
 | 
						|
  make check
 | 
						|
 | 
						|
See http://www.cmake.org/cmake/help/runningcmake.html for generic help on
 | 
						|
running CMake.
 | 
						|
 |