19 lines
559 B
CMake
19 lines
559 B
CMake
add_imgui_app(data_table_bench
|
|
main.cpp
|
|
bench_runner.cpp
|
|
)
|
|
target_include_directories(data_table_bench PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
# fn_module_data_table: data_table::render(), TQL engine, Lua.
|
|
if(TARGET fn_module_data_table)
|
|
target_link_libraries(data_table_bench PRIVATE fn_module_data_table)
|
|
endif()
|
|
|
|
# SQLite3 for operations.db persistence.
|
|
find_package(SQLite3 REQUIRED)
|
|
target_link_libraries(data_table_bench PRIVATE SQLite::SQLite3)
|
|
|
|
if(WIN32)
|
|
set_target_properties(data_table_bench PROPERTIES WIN32_EXECUTABLE FALSE)
|
|
endif()
|