Skip to content

Commit 2d7c286

Browse files
committed
Clarified FCOPTS status, renamed pretest_setup
1 parent 183d4f9 commit 2d7c286

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if(${FC_ALLOWS_NO_OPTIMIZATION})
9494
list(APPEND FCOPTS ${FCOPT_NO_OPTIMIZATION})
9595
endif()
9696

97-
message(STATUS "Fortran compiler options set to ${FCOPTS}")
97+
message(STATUS "Fortran compiler options for fortran-csv-module set to ${FCOPTS}")
9898

9999
# Target FCSV: fortran-csv-module library
100100
set(FCSV_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src")
@@ -163,7 +163,7 @@ set(TEST_DIR "${CMAKE_CURRENT_BINARY_DIR}/test")
163163
# ***** Pre-Test File and Directory Generation *****
164164

165165
# Create test output as separate target folded into `make all`
166-
add_custom_target(pretest_setup
166+
add_custom_target(fcsv_test_setup
167167
ALL
168168
DEPENDS csv_local_test
169169
COMMAND ${CMAKE_COMMAND} -E echo "Copying test and reference data"
@@ -175,7 +175,7 @@ add_custom_target(pretest_setup
175175
# Create csv_write_test output as separate target folded into `make all`
176176
add_custom_target(run_csv_write_test
177177
ALL
178-
DEPENDS pretest_setup
178+
DEPENDS fcsv_test_setup
179179
COMMAND ${CMAKE_COMMAND} -E echo "Running csv_write_test"
180180
COMMAND $<TARGET_FILE:csv_write_test>
181181
BYPRODUCTS test_write.csv
@@ -199,7 +199,7 @@ add_custom_target(run_csv_read_test
199199
# Create csv_local_test output as separate target folded into `make all`
200200
add_custom_target(run_csv_local_test
201201
ALL
202-
DEPENDS pretest_setup
202+
DEPENDS fcsv_test_setup
203203
COMMAND ${CMAKE_COMMAND} -E echo "Running csv_local_test"
204204
COMMAND $<TARGET_FILE:csv_local_test> > csv_test.out
205205
BYPRODUCTS csv_test.out test2.csv
@@ -243,7 +243,7 @@ set_tests_properties(
243243
3_test_write
244244
4_test2
245245
PROPERTIES
246-
DEPENDS pretest_setup
246+
DEPENDS fcsv_test_setup
247247
DEPENDS run_csv_write_test
248248
DEPENDS run_csv_read_test
249249
DEPENDS run_csv_local_test

0 commit comments

Comments
 (0)