"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fileformat/CMakeLists.txt" between
pfstools-2.1.0.tgz and pfstools-2.2.0.tgz

About: pfstools are a set of command line programs (and one GUI program) for reading, writing, manipulating, and viewing high-dynamic range (HDR) images and video frames (similar as the netpbm package does for low-dynamic range images).

CMakeLists.txt  (pfstools-2.1.0.tgz):CMakeLists.txt  (pfstools-2.2.0.tgz)
include_directories ("${PROJECT_BINARY_DIR}/" "${PROJECT_SOURCE_DIR}/src/pfs") include_directories ("${PROJECT_BINARY_DIR}/" "${PROJECT_SOURCE_DIR}/src/pfs")
if( NOT HAS_GETOPT ) if( NOT HAS_GETOPT )
include_directories ("${GETOPT_INCLUDE}") include_directories ("${GETOPT_INCLUDE}")
endif( NOT HAS_GETOPT ) endif( NOT HAS_GETOPT )
link_directories("${PROJECT_SOURCE_DIR}/src/pfs") link_directories("${PROJECT_SOURCE_DIR}/src/pfs")
set( SHELL_CMDS pfsin pfsout pfsindcraw ) set( SHELL_CMDS pfsin pfsout pfsindcraw )
#set( SHELL_CMDS )
foreach(SHCMD ${SHELL_CMDS}) foreach(SHCMD ${SHELL_CMDS})
# Replace the tag with the path to bash # Replace the tag with the path to bash
add_custom_command( OUTPUT ${SHCMD} add_custom_command( OUTPUT ${SHCMD}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${SHCMD}.in DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${SHCMD}.in
COMMAND sed -e "'s;@BASH_PATH@;${BASH_EXECUTABLE};g'" ${CMAKE_CURRENT_SOURCE _DIR}/${SHCMD}.in >${CMAKE_CURRENT_BINARY_DIR}/${SHCMD} ) COMMAND sed -e "'s;@BASH_PATH@;${BASH_EXECUTABLE};g'" ${CMAKE_CURRENT_SOURCE _DIR}/${SHCMD}.in >${CMAKE_CURRENT_BINARY_DIR}/${SHCMD} )
add_custom_target(${SHCMD}_sh ALL DEPENDS ${SHCMD}) add_custom_target(${SHCMD}_sh ALL DEPENDS ${SHCMD})
endforeach(SHCMD) endforeach(SHCMD)
#file(READ ${CMAKE_CURRENT_SOURCE_DIR}/pfsin.in file_content) #file(READ ${CMAKE_CURRENT_SOURCE_DIR}/pfsin.in file_content)
#string(REGEX REPLACE "@BASH_PATH@" "${BASH_EXECUTABLE}" file_content "${file_co ntent}") #string(REGEX REPLACE "@BASH_PATH@" "${BASH_EXECUTABLE}" file_content "${file_co ntent}")
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)