diff --git a/conan/profile/x86_64-clang-linux-debug b/conan/profile/x86_64-clang-linux-debug index dfc9fd6..6349741 100644 --- a/conan/profile/x86_64-clang-linux-debug +++ b/conan/profile/x86_64-clang-linux-debug @@ -15,3 +15,7 @@ build_type=Debug [env] CC=clang-18 CXX=clang++-18 + +[conf] +tools.build:compiler_executables={"c": "clang-18","cpp": "clang++-18"} +tools.build:cxxflags=[] diff --git a/conan/profile/x86_64-clang-linux-release b/conan/profile/x86_64-clang-linux-release index b851d24..ba10e4f 100644 --- a/conan/profile/x86_64-clang-linux-release +++ b/conan/profile/x86_64-clang-linux-release @@ -16,5 +16,9 @@ build_type=Release [env] CC=clang-18 CXX=clang++-18 -CFLAGS="-flto" -CXXFLAGS="-flto" +CFLAGS=-flto +CXXFLAGS=-flto + +[conf] +tools.build:cxxflags=["-flto", "-stdlib=libc++"] +tools.build:compiler_executables={"c": "clang-18","cpp": "clang++-18"} diff --git a/conan/profile/x86_64-gcc-linux-debug b/conan/profile/x86_64-gcc-linux-debug index 8885662..d9b3866 100644 --- a/conan/profile/x86_64-gcc-linux-debug +++ b/conan/profile/x86_64-gcc-linux-debug @@ -1,18 +1,25 @@ +VERSION=14 +CC=gcc-$VERSION +CXX=g++-$VERSION +CXXFLAGS=-D_GLIBCXX_DEBUG + [settings] os=Linux arch=x86_64 compiler=gcc -compiler.version=14.0 +compiler.version=$VERSION compiler.libcxx=libstdc++11 build_type=Debug [options] -[build_requires] - -[env] -CC=gcc-14 -CXX=g++-14 +[buildenv] +CC=$CC +CXX=$CXX CXXFLAGS=-D_GLIBCXX_DEBUG + +[conf] +tools.build:compiler_executables={"c": "gcc-14","cpp": "g++-14"} +tools.build:cxxflags=["-D_GLIBCXX_DEBUG"] \ No newline at end of file diff --git a/conan/profile/x86_64-gcc-linux-release b/conan/profile/x86_64-gcc-linux-release index 5dfecbe..2d1e0a0 100644 --- a/conan/profile/x86_64-gcc-linux-release +++ b/conan/profile/x86_64-gcc-linux-release @@ -3,16 +3,18 @@ os=Linux arch=x86_64 compiler=gcc -compiler.version=14.0 +compiler.version=14 compiler.libcxx=libstdc++11 build_type=Release [options] -[build_requires] - -[env] +[buildenv] CC=gcc-14 CXX=g++-14 -CXXFLAGS="-flto -ffat-lto-objects" +CXXFLAGS=-flto -ffat-lto-objects + +[conf] +tools.build:cxxflags=["-flto", "-ffat-lto-objects"] +tools.build:compiler_executables={"c": "gcc-14","cpp": "g++-14"} diff --git a/conan/profile/x86_64-gcc-mingw-release b/conan/profile/x86_64-gcc-mingw-release index 39264a0..ffc0b93 100644 --- a/conan/profile/x86_64-gcc-mingw-release +++ b/conan/profile/x86_64-gcc-mingw-release @@ -5,6 +5,19 @@ cxx_compiler=g++ [env] CONAN_CMAKE_FIND_ROOT_PATH=$toolchain +CONAN_CMAKE_SYSROOT=$toolchain +CHOST=$target_host +AR=$target_host-ar +AS=$target_host-as +RANLIB=$target_host-ranlib +CC=$target_host-$cc_compiler +CXX=$target_host-$cxx_compiler +STRIP=$target_host-strip +RC=$target_host-windres + +[buildenv] +CONAN_CMAKE_FIND_ROOT_PATH=$toolchain +CONAN_CMAKE_SYSROOT=$toolchain CHOST=$target_host AR=$target_host-ar AS=$target_host-as @@ -22,3 +35,7 @@ compiler=gcc compiler.version=13.2 compiler.libcxx=libstdc++11 build_type=Release + +[conf] +tools.env.virtualenv:auto_use=True +tools.build:compiler_executables={"c": "$target_host-$cc_compiler","cpp": "$target_host-$cxx_compiler","rc":"$target_host-windres"}