From f2368c6cbaf25499f274f3a6284fdc3024c0f844 Mon Sep 17 00:00:00 2001 From: xerox Date: Fri, 3 Dec 2021 14:00:55 -0800 Subject: [PATCH] updated deps, fixed build instructions --- CMakeLists.txt | 1 - README.md | 6 +++++- cmake.toml | 3 +-- dependencies/vmprofiler | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5efd68b..f1d2427 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,6 @@ source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${vmprofiler-cli_SOURCES}) target_link_libraries(vmprofiler-cli PRIVATE cli-parser - xtils vmprofiler linux-pe ) diff --git a/README.md b/README.md index 33d5dc8..1bf4d8f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Now you can open `vmprofiler-cli.sln`, select "Release" and "x64" on the top of ### Requirements * C++ 2020 STL (libstdc++-10-dev) -* Clang 10 or GCC 9.X +* Clang 10 * CMake 3.X ``` @@ -42,6 +42,10 @@ sudo apt install clang-10 libstdc++-10-dev cmake ``` git clone --recursive https://githacks.org/vmp2/vmprofiler-cli.git cd vmprofiler-cli + +export CC=/usr/bin/clang-10 +export CXX=/usr/bin/clang++-10 + cmake -B build && cd build make ``` diff --git a/cmake.toml b/cmake.toml index bd7926e..888b2e3 100644 --- a/cmake.toml +++ b/cmake.toml @@ -12,7 +12,6 @@ sources = [ link-libraries = [ "cli-parser", - "xtils", "vmprofiler", "linux-pe" -] \ No newline at end of file +] diff --git a/dependencies/vmprofiler b/dependencies/vmprofiler index 05748c6..bf2d6ac 160000 --- a/dependencies/vmprofiler +++ b/dependencies/vmprofiler @@ -1 +1 @@ -Subproject commit 05748c67bec777672a69462178625dffc7d5eb56 +Subproject commit bf2d6acba03a81e07371fc169d26744992455571