examples : add compiler version and target to build info (#2998)

This commit is contained in:
Cebtenzzre authored and GitHub committed 2023-09-15 16:59:49 -04:00
1 parent 3aefaab9e5
commit e6616cf0db
21 files changed
+97 -51

No files matched your search

-3
View File
@@ -3,6 +3,3 @@ add_executable(${TARGET} simple.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if(TARGET BUILD_INFO)
add_dependencies(${TARGET} BUILD_INFO)
endif()
-2
View File
@@ -1,5 +1,3 @@
#include "build-info.h"
#include "common.h"
#include "llama.h"