diff --git a/CMakeLists.txt b/CMakeLists.txt index 6488376..86063cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ project(spectator-cpp) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) add_compile_options(-pedantic -Werror -Wall -Wno-missing-braces -fno-omit-frame-pointer "$<$:-fsanitize=address>") diff --git a/build.sh b/build.sh index af7998f..60dc004 100755 --- a/build.sh +++ b/build.sh @@ -33,6 +33,12 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then fi fi +echo -e "${BLUE}==== env configuration ====${NC}" +echo "BUILD_DIR=$BUILD_DIR" +echo "BUILD_TYPE=$BUILD_TYPE" +echo "CC=$CC" +echo "CXX=$CXX" + if [[ ! -f "$HOME/.conan2/profiles/default" ]]; then echo -e "${BLUE}==== create default profile ====${NC}" conan profile detect