mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-05 17:09:50 -06:00
Generate .lib files when building shared on Windows; Bumped to version 0.4.0 (#86)
This commit is contained in:
committed by
GitHub
parent
86884f388a
commit
5131953c35
@@ -8,11 +8,11 @@ add_executable(
|
||||
)
|
||||
target_precompile_headers(sqlgen-sqlite-tests PRIVATE [["sqlgen.hpp"]] <iostream> <string> <functional> <gtest/gtest.h>)
|
||||
|
||||
target_link_libraries(sqlgen-sqlite-tests PRIVATE sqlgen_tests_crt)
|
||||
|
||||
target_link_libraries(
|
||||
sqlgen-sqlite-tests
|
||||
PRIVATE
|
||||
"${SQLGEN_GTEST_LIB}"
|
||||
add_custom_command(TARGET sqlgen-sqlite-tests POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy -t $<TARGET_FILE_DIR:sqlgen-sqlite-tests> $<TARGET_RUNTIME_DLLS:sqlgen-sqlite-tests>
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
find_package(GTest)
|
||||
|
||||
Reference in New Issue
Block a user