Skip to content

Commit

Permalink
Specify litre config file
Browse files Browse the repository at this point in the history
Swift SVN r4506
  • Loading branch information
Dave Abrahams committed Mar 28, 2013
1 parent 96cc492 commit 257ee68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ if(LITRE_EXECUTABLE)
set(test_dir ${CMAKE_CURRENT_BINARY_DIR}/litre-tests/${rst}.litre-tests)
execute_process(
COMMAND ${CMAKE_COMMAND} -E make_directory "${test_dir}"
COMMAND ${LITRE_EXECUTABLE} --dump_dir=${test_dir} --traceback ${CMAKE_CURRENT_SOURCE_DIR}/${rst}
COMMAND
${LITRE_EXECUTABLE}
--config=${CMAKE_CURRENT_SOURCE_DIR}/litre_config.py
--dump_dir=${test_dir}
--traceback
${CMAKE_CURRENT_SOURCE_DIR}/${rst}
)
# Make that directory part of the build
add_subdirectory(${test_dir} ${test_dir}/build)
Expand Down
1 change: 1 addition & 0 deletions docs/litre_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default_cmake_args = ['COMPILER', 'srel']

0 comments on commit 257ee68

Please sign in to comment.