mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
4 spaces -> 2 spaces
This commit is contained in:
parent
1d1c4b9579
commit
64b74c97e0
|
@ -36,90 +36,90 @@ set(SAPI_ENABLE_TESTS ${TIFF_SAPI_ENABLE_TESTS} CACHE BOOL "" FORCE)
|
||||||
add_subdirectory(wrapper)
|
add_subdirectory(wrapper)
|
||||||
|
|
||||||
add_subdirectory(
|
add_subdirectory(
|
||||||
"${SAPI_ROOT}"
|
"${SAPI_ROOT}"
|
||||||
"${CMAKE_BINARY_DIR}/sandboxed-api-build"
|
"${CMAKE_BINARY_DIR}/sandboxed-api-build"
|
||||||
# Omit this to have the full Sandboxed API in IDE
|
# Omit this to have the full Sandboxed API in IDE
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
|
||||||
add_sapi_library(tiff_sapi
|
add_sapi_library(tiff_sapi
|
||||||
# List of functions that we want to include in the
|
# List of functions that we want to include in the
|
||||||
# generated sandboxed API class
|
# generated sandboxed API class
|
||||||
|
|
||||||
FUNCTIONS TIFFOpen
|
FUNCTIONS TIFFOpen
|
||||||
TIFFClose
|
TIFFClose
|
||||||
|
|
||||||
TIFFGetField1
|
TIFFGetField1
|
||||||
TIFFGetField2
|
TIFFGetField2
|
||||||
TIFFGetField3
|
TIFFGetField3
|
||||||
|
|
||||||
TIFFSetFieldUChar1
|
TIFFSetFieldUChar1
|
||||||
TIFFSetFieldUChar2
|
TIFFSetFieldUChar2
|
||||||
TIFFSetFieldUChar3
|
TIFFSetFieldUChar3
|
||||||
TIFFSetFieldSChar1
|
TIFFSetFieldSChar1
|
||||||
TIFFSetFieldSChar2
|
TIFFSetFieldSChar2
|
||||||
TIFFSetFieldSChar3
|
TIFFSetFieldSChar3
|
||||||
TIFFSetFieldU1
|
TIFFSetFieldU1
|
||||||
TIFFSetFieldU2
|
TIFFSetFieldU2
|
||||||
TIFFSetFieldU3
|
TIFFSetFieldU3
|
||||||
TIFFSetFieldS1
|
TIFFSetFieldS1
|
||||||
TIFFSetFieldS2
|
TIFFSetFieldS2
|
||||||
TIFFSetFieldS3
|
TIFFSetFieldS3
|
||||||
TIFFSetFieldUShort1
|
TIFFSetFieldUShort1
|
||||||
TIFFSetFieldUShort2
|
TIFFSetFieldUShort2
|
||||||
TIFFSetFieldUShort3
|
TIFFSetFieldUShort3
|
||||||
TIFFSetFieldSShort1
|
TIFFSetFieldSShort1
|
||||||
TIFFSetFieldSShort2
|
TIFFSetFieldSShort2
|
||||||
TIFFSetFieldSShort3
|
TIFFSetFieldSShort3
|
||||||
TIFFSetFieldULLong1
|
TIFFSetFieldULLong1
|
||||||
TIFFSetFieldULLong2
|
TIFFSetFieldULLong2
|
||||||
TIFFSetFieldULLong3
|
TIFFSetFieldULLong3
|
||||||
TIFFSetFieldSLLong1
|
TIFFSetFieldSLLong1
|
||||||
TIFFSetFieldSLLong2
|
TIFFSetFieldSLLong2
|
||||||
TIFFSetFieldSLLong3
|
TIFFSetFieldSLLong3
|
||||||
TIFFSetFieldFloat1
|
TIFFSetFieldFloat1
|
||||||
TIFFSetFieldFloat2
|
TIFFSetFieldFloat2
|
||||||
TIFFSetFieldFloat3
|
TIFFSetFieldFloat3
|
||||||
TIFFSetFieldDouble1
|
TIFFSetFieldDouble1
|
||||||
TIFFSetFieldDouble2
|
TIFFSetFieldDouble2
|
||||||
TIFFSetFieldDouble3
|
TIFFSetFieldDouble3
|
||||||
|
|
||||||
TIFFReadRGBATile
|
TIFFReadRGBATile
|
||||||
TIFFReadEncodedTile
|
TIFFReadEncodedTile
|
||||||
TIFFReadEncodedStrip
|
TIFFReadEncodedStrip
|
||||||
TIFFReadFromUserBuffer
|
TIFFReadFromUserBuffer
|
||||||
|
|
||||||
TIFFTileSize
|
TIFFTileSize
|
||||||
TIFFSetDirectory
|
TIFFSetDirectory
|
||||||
TIFFFreeDirectory
|
TIFFFreeDirectory
|
||||||
TIFFCreateDirectory
|
TIFFCreateDirectory
|
||||||
|
|
||||||
TIFFForceStrileArrayWriting
|
TIFFForceStrileArrayWriting
|
||||||
TIFFDeferStrileArrayWriting
|
TIFFDeferStrileArrayWriting
|
||||||
|
|
||||||
TIFFWriteCheck
|
TIFFWriteCheck
|
||||||
TIFFWriteScanline
|
TIFFWriteScanline
|
||||||
TIFFWriteDirectory
|
TIFFWriteDirectory
|
||||||
TIFFWriteEncodedTile
|
TIFFWriteEncodedTile
|
||||||
TIFFWriteEncodedStrip
|
TIFFWriteEncodedStrip
|
||||||
|
|
||||||
TIFFGetStrileOffsetWithErr
|
TIFFGetStrileOffsetWithErr
|
||||||
TIFFGetStrileByteCountWithErr
|
TIFFGetStrileByteCountWithErr
|
||||||
|
|
||||||
TIFFCreateEXIFDirectory
|
TIFFCreateEXIFDirectory
|
||||||
TIFFWriteCustomDirectory
|
TIFFWriteCustomDirectory
|
||||||
|
|
||||||
INPUTS wrapper/libtiff/libtiff/tiffio.h
|
INPUTS wrapper/libtiff/libtiff/tiffio.h
|
||||||
wrapper/func.h
|
wrapper/func.h
|
||||||
# Header files or .cc files that should be parsed
|
# Header files or .cc files that should be parsed
|
||||||
LIBRARY wrapped_tiff # Library dependency from the add_library() above
|
LIBRARY wrapped_tiff # Library dependency from the add_library() above
|
||||||
LIBRARY_NAME Tiff # Name prefix for the generated header. Will be
|
LIBRARY_NAME Tiff # Name prefix for the generated header. Will be
|
||||||
# suffixed with "Api" and "Sandbox" as needed.
|
# suffixed with "Api" and "Sandbox" as needed.
|
||||||
NAMESPACE "" # Optional C++ namespace to wrap the generated code
|
NAMESPACE "" # Optional C++ namespace to wrap the generated code
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(tiff_sapi INTERFACE
|
target_include_directories(tiff_sapi INTERFACE
|
||||||
"${PROJECT_BINARY_DIR}" # To find the generated SAPI header
|
"${PROJECT_BINARY_DIR}" # To find the generated SAPI header
|
||||||
)
|
)
|
||||||
|
|
||||||
if (TIFF_SAPI_ENABLE_EXAMPLES)
|
if (TIFF_SAPI_ENABLE_EXAMPLES)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user