Thomas Braun
3af477a926
netcdf-c: Make cmake pass a windows cmd prompt
...
add_sh_test only creates the test if HAVE_BASH is TRUE.
Therefore we can only call SET_TESTS_PROPERTIES on the created test if
HAVE_BASH is equally true.
2018-04-26 14:43:27 +02:00
Ward Fisher
69a418c27d
Merge branch 'cmake-fix' of https://github.com/nehaljwani/netcdf-c into gh692
2018-01-02 13:24:13 -07:00
Ward Fisher
c42bbd0ea2
Removed old file, updated travis file to allow for tests to run in parallel.
2017-12-05 12:17:40 -07:00
Ward Fisher
cc2189293d
Merging create_sample_files script into do_comps.sh, as cmake dependencies between scripts is proving a bit problematic.
2017-12-01 14:02:18 -07:00
Ward Fisher
4837b1382f
Fixing for cmake parallel tests.
2017-12-01 14:01:07 -07:00
Nehal J Wani
03dd4e260f
Make certain tests conditional on dependencies
...
tst_h_rdc0 depends on ncdump_tst_netcdf4, which isn't build if HAVE_BASH
isn't true. But CMake errors out with:
-- Bash shell not found; disabling shell script tests.
CMake Error at CMakeLists.txt:1521 (SET_PROPERTY):
SET_PROPERTY given TEST names that do not exist:
tst_h_rdc0
There are also some tests which cdl_do_maps depends on, but it is
also not defined if HAVE_BASH isn't true. CMake errors out with:
CMake Error at examples/CDL/CMakeLists.txt:10 (SET_TESTS_PROPERTIES):
SET_TESTS_PROPERTIES Can not find test to add properties to:
cdl_do_comps
This patch makes these tests conditional, making CMake happy.
2017-11-26 10:17:58 +05:30
Ward Fisher
394ee6a1e0
Corrected typo, more enhancements in CMakeLists.txt
2017-11-22 13:34:56 -07:00
Ward Fisher
1ccdf0219f
Work towards parallel testing via cmake.
2017-11-22 12:10:58 -07:00
Ward Fisher
136a717d26
Getting tests to run in parallel under cmake
2017-11-22 11:37:00 -07:00
Ed Hartnett
812c2fd4d1
got make -j check working in ncdump and examples directories
2017-11-17 10:16:17 -07:00
Ward Fisher
7f812b367e
Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements.
2014-06-11 15:51:31 -06:00
Ward Fisher
44fae42214
Cleaned up indentation, white space in multiple CMakeLists.txt files.
2014-04-21 11:15:33 -06:00
Ward Fisher
33d3d06971
Added initial 'make dist', 'make distcheck' support to
...
CMake-based builds.
2013-06-03 16:42:04 +00:00
Ward Fisher
ddf3c31bb0
Corrected a handful of syntax issues in CMake config files,
...
probably introduced more.
Added CMake-related files to Makefile.am files for inclusion
when creating a distribution package.
2013-02-20 23:28:28 +00:00
Ward Fisher
7a226dd3f1
Merging the win_netcdf branch into the trunk.
2012-09-27 22:50:41 +00:00
Ward Fisher
31cfdd5910
Added 'examples' directory to CMake
2012-08-28 22:31:07 +00:00
Ward Fisher
d1b159bfa1
Modified Makefile.am scripts to run tests when working with
...
Windows DLLs.
2012-05-23 20:27:34 +00:00
Dennis Heimbigner
53e8d22d24
Fixed NCF-104
2011-07-27 20:48:58 +00:00
Ed Hartnett
d0d5e7c8c3
changes to make make check work on dll builds (by turning off shell tests for dll builds)
2011-03-21 20:31:56 +00:00
Ed Hartnett
6e22b23b01
begin creating trunk subdir
2010-06-03 13:23:50 +00:00