Skip to content
Snippets Groups Projects
Commit 641493cf authored by Eric Noulard's avatar Eric Noulard
Browse files

Suppress some commented code

parent ecba3795
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# LUS_FILES <Lustre files> # LUS_FILES <Lustre files>
# [USER_C_FILES <C files>] # [USER_C_FILES <C files>]
# [VERBOSE <level>] # [VERBOSE <level>]
# [LUSI] # [LUSI]
# LIBNAME <libraryName>) # LIBNAME <libraryName>)
# #
# When used the Lustre_Compile macro define the variable # When used the Lustre_Compile macro define the variable
...@@ -80,7 +80,7 @@ function(Lustre_Compile) ...@@ -80,7 +80,7 @@ function(Lustre_Compile)
if(LUS_LUSI) if(LUS_LUSI)
set(LUSTRE_LUSI_OPT "-lusi") set(LUSTRE_LUSI_OPT "-lusi")
endif() endif()
if (NOT LUS_LIBNAME) if (NOT LUS_LIBNAME)
message(FATAL_ERROR "You should specify LIBNAME for each Lustre_Compile call.") message(FATAL_ERROR "You should specify LIBNAME for each Lustre_Compile call.")
...@@ -118,9 +118,7 @@ function(Lustre_Compile) ...@@ -118,9 +118,7 @@ function(Lustre_Compile)
if (LUS_LUSI) if (LUS_LUSI)
add_custom_command( add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE}i OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE}i
#OUTPUT ${LUSTRE_OUTPUT_DIR}/${L}.lusi COMMAND ${LUSTRE_COMPILER} ${LUSTRE_LUSI_OPT} ${LFILE}
COMMAND ${LUSTRE_COMPILER} ${LUSTRE_LUSI_OPT} ${LFILE}
#COMMAND ${CMAKE_COMMAND} -E rename ${L}.lusi ${LUSTRE_OUTPUT_DIR}/${L}.lusi
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE} DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${LFILE}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Compile Lustre source(s): ${LFILE} with option -lusi." COMMENT "Compile Lustre source(s): ${LFILE} with option -lusi."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment