Skip to content

Commit

Permalink
EMBOSS: transform2doxy
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed May 18, 2010
1 parent 7dd9a24 commit 18341ae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
17 changes: 11 additions & 6 deletions src/clibs/emboss/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,19 @@ ADD_CUSTOM_TARGET(apidoc
COMMAND ${CMAKE_COMMAND} -E make_directory "${MAP_ROOT}/build/transform2swig/${M_NAME}"
)

include(APIDoc)
foreach(_file ${_list})
get_filename_component(target ${_file} NAME_WE)
set(dest "${MAP_ROOT}/build/transform2swig/${M_NAME}")
# get_filename_component(target ${_file} NAME_WE)
get_filename_component(target ${_file} NAME)
set(_destdir "${MAP_ROOT}/build/transform2swig/${M_NAME}")
STRING(CONFIGURE ${_file} _nfile)

# message ("${CMAKE_COMMAND} -E copy_if_different <${_nfile}> ${dest}")
add_custom_target(${target}
${CMAKE_COMMAND} -E copy_if_different ${_nfile} ${dest}
SET(_dfile ${_destdir} / ${target})
# MESSAGE( ${_dfile} : ${transform2doxy} " -d ${_destdir} ${_nfile}" )
add_custom_target(${target}
COMMENT "Transforming ${_nfile}"
SOURCES ${_dfile}
DEPENDS ${_nfile}
COMMAND ${transform2doxy} --quiet -d ${_destdir} ${_nfile}
)
add_dependencies(apidoc ${target})
endforeach(_file)
Expand Down
2 changes: 1 addition & 1 deletion tools/cmake-support
Submodule cmake-support updated 1 files
+26 −17 modules/APIDoc.cmake
2 changes: 1 addition & 1 deletion tools/swig2doc

0 comments on commit 18341ae

Please sign in to comment.