build: auto update version info without manually deleting version.h

This commit is contained in:
stoffu 2017-09-14 08:28:23 +09:00
parent a6403846ef
commit e29282d208
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012
20 changed files with 63 additions and 46 deletions

View file

@ -40,6 +40,7 @@ target_link_libraries(core_proxy
cryptonote_core
cryptonote_protocol
p2p
version
epee
${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})

View file

@ -65,6 +65,7 @@ target_link_libraries(coretests
PRIVATE
cryptonote_core
p2p
version
epee
${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})

View file

@ -40,6 +40,7 @@ add_executable(libwallet_api_tests
target_link_libraries(libwallet_api_tests
PRIVATE
wallet
version
epee
${Boost_CHRONO_LIBRARY}
${Boost_SERIALIZATION_LIBRARY}

View file

@ -78,6 +78,7 @@ target_link_libraries(unit_tests
rpc
wallet
p2p
version
epee
${Boost_CHRONO_LIBRARY}
${Boost_THREAD_LIBRARY}