Project

General

Profile

Revision 641493cf

View differences:

share/FindLustre.cmake
17 17
#                  LUS_FILES <Lustre files>
18 18
#                  [USER_C_FILES <C files>]
19 19
#                  [VERBOSE <level>]
20
#		   [LUSI]
20
#                  [LUSI]
21 21
#                  LIBNAME <libraryName>)
22 22
#
23 23
# When used the Lustre_Compile macro define the variable
......
80 80

  
81 81
  if(LUS_LUSI)
82 82
    set(LUSTRE_LUSI_OPT "-lusi")
83
  endif()    
83
  endif()
84 84

  
85 85
  if (NOT LUS_LIBNAME)
86 86
    message(FATAL_ERROR "You should specify LIBNAME for each Lustre_Compile call.")
......
118 118
    if (LUS_LUSI)
119 119
      add_custom_command(
120 120
         OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE}i
121
         #OUTPUT ${LUSTRE_OUTPUT_DIR}/${L}.lusi
122
      	 COMMAND ${LUSTRE_COMPILER} ${LUSTRE_LUSI_OPT} ${LFILE}
123
	 #COMMAND ${CMAKE_COMMAND} -E rename ${L}.lusi ${LUSTRE_OUTPUT_DIR}/${L}.lusi
121
         COMMAND ${LUSTRE_COMPILER} ${LUSTRE_LUSI_OPT} ${LFILE}
124 122
         DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE}
125 123
         WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
126 124
         COMMENT "Compile Lustre source(s): ${LFILE} with option -lusi."

Also available in: Unified diff