atm, do not built benchmark tool for fat runtime, as the function names are modified, need to rethink this

This commit is contained in:
Konstantinos Margaritis 2021-10-09 00:25:29 +03:00
parent 96af3e8613
commit a78f3789a9

View File

@ -1,4 +1,10 @@
add_executable(benchmarks benchmarks.cpp)
set_source_files_properties(benchmarks.cpp PROPERTIES COMPILE_FLAGS
"-Wall -Wno-unused-variable")
target_link_libraries(benchmarks hs)
if (NOT FAT_RUNTIME)
add_executable(benchmarks benchmarks.cpp)
set_source_files_properties(benchmarks.cpp PROPERTIES COMPILE_FLAGS
"-Wall -Wno-unused-variable")
if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
target_link_libraries(benchmarks hs_shared)
else()
target_link_libraries(benchmarks hs)
endif()
endif()