diff options
author | xaedes <xaedes@gmail.com> | 2023-04-24 18:23:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 19:23:31 +0300 |
commit | 0c5692345d5c046dbc6a7d311a00ae5842ac39c3 (patch) | |
tree | a6c9e4dea129ec92013dbf021cfd502778daca23 /examples/save-load-state/CMakeLists.txt | |
parent | 957c8ae21d1e7052ea45a40ee8c0407b909e90cc (diff) |
examples : add save_load_state example (#1150)
* add save_load_state example
* use <cstdio> instead of <iostream> and fprintf / printf instead of cout
* renamed save-load-state example files replacing underscores by dashes
Diffstat (limited to 'examples/save-load-state/CMakeLists.txt')
-rw-r--r-- | examples/save-load-state/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/save-load-state/CMakeLists.txt b/examples/save-load-state/CMakeLists.txt new file mode 100644 index 00000000..cff79fa1 --- /dev/null +++ b/examples/save-load-state/CMakeLists.txt @@ -0,0 +1,4 @@ +set(TARGET save-load-state) +add_executable(${TARGET} save-load-state.cpp) +target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) +target_compile_features(${TARGET} PRIVATE cxx_std_11) |