Project

General

Profile

Revision fa9e78e5 regression_tests/CMakeLists.txt

View differences:

regression_tests/CMakeLists.txt
4 4

  
5 5
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/modules)
6 6
include(./modules/Lustre_compile.cmake)
7

  
8
file(COPY ${PROJECT_SOURCE_DIR}/modules/read_value.c  DESTINATION  ${CMAKE_BINARY_DIR}/modules)
9
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/modules/read_value 
10
					COMMAND ${CMAKE_C_COMPILER} -o  read_value read_value.c
11
					WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/modules 
12
					COMMENT "compiling read_value")
13
add_custom_target (read_value ALL
14
	DEPENDS ${CMAKE_BINARY_DIR}/modules/read_value)
7
include(./modules/Zustre_compile.cmake)
15 8
	
16 9
add_subdirectory(lustre_files)
17 10

  

Also available in: Unified diff