The meaning of CMake configuration during x265 compliation

If you don’t want compile your own x265 binary, here is a place to go for the binary directly:

https://builds.x265.eu/

cmake3

1.BIN_INSTALL_DIR

The executable file during make install will be put under /< BIN_INSTALL_DIR>

2.CHECKED_BUILD

If checked, the error message will be detected during compliation and saved in x265_check_failures.txt

3.CMAKE_BUILD_TYPE

Effective to single configured make, used for generate variables like CMAKE_C_FLAGS

4.CMAKE_CONFIGURATION_TYPES

Effective to multi-configured make (like VS, XCode), used to generated multiple build for the specified system, such as Debug, Release etc.

5.CMAKE_INSTALL_PREFIX

A folder used to save generated files during make

6.ENABLE_ASSEMBLY

Adding YASM support

7.ENABLE_CLI

Whether build CLI executable. If not, lib/dll only

8.ENABLE_PPA

Whether active the Multicoreware’s Parallel Path Analyzer tool which is used to record and analyze the performance bottleneck. Details: http://www.multicorewareinc.com/ppa.html

9.ENABLE_SHARED

Whether build shared lib/dll of x265

10.ENALBE_TESTS

Whether compile the code for unit test

11.LIB_INSTALL_DIR

Lib files during will be put under /< LIB_INSTALL_DIR >

12.LOG_CU_STATISTICS

Activate the pieces of code for CU statistics, enable report CU stats after encoding.

13.STATIC_LINK_CRT

Whether enable static link for C runtime library. If enabled, x265 won’t need msvc***.dll

14.VLD_ROOT_DIR(Windows Only)

Path to Visual Leak Detector, enable VLD for memory lead during Debug

15.WARNING_AS_ERRORS

Similar as -Werror, treat all warnings as errors

16.WINXP_SUPPORT

Adding configurations to Windows to support WinXP

17.YASM_EXECUTABLE

Path for YASM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s