Skip to content

Commit 28b1605

Browse files
committed
work with shared builds
1 parent 81fc93f commit 28b1605

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

fpm.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "maptran3d"
2-
version = "VERSION"
2+
version = "1.2.0"
33
license = "BSD"
44
author = "Michael Hirsch"
55
copyright = "2020 Michael Hirsch"

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('MapTran', 'fortran',
22
meson_version : '>=0.57.0',
3-
default_options : ['default_library=static', 'buildtype=release', 'warning_level=2'])
3+
default_options : ['buildtype=release'])
44

55
fc = meson.get_compiler('fortran')
66
if fc.get_id() == 'intel'

src/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_executable(test_maptran test_mod.f90 assert.f90)
22
target_link_libraries(test_maptran PRIVATE maptran)
3-
add_test(NAME unit:maptran COMMAND $<TARGET_FILE:test_maptran>)
3+
add_test(NAME unit:maptran COMMAND test_maptran WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
44

55
add_executable(benchmark_maptran benchmark.f90)
66
target_link_libraries(benchmark_maptran PRIVATE maptran)

src/tests/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ mtexe = executable('testmaptran',
22
sources: ['test_mod.f90', 'assert.f90'],
33
link_with : maptran)
44

5-
test('Maptran' + get_option('realbits'), mtexe, timeout: 30)
5+
test('Maptran', mtexe, timeout: 30)
66

77
executable('benchmark_maptran', 'benchmark.f90', link_with: maptran)

0 commit comments

Comments
 (0)