FeignClaims

Results 10 issues of FeignClaims

configured using `cmake -S . -B build -G 'Ninja' -DCMAKE_EXPORT_COMPILE_COMMANDS=ON` CMakeLists.txt ```cmake cmake_minimum_required(VERSION 3.27) project(starter) add_executable(main) target_sources(main PRIVATE main.cpp ) target_include_directories(main PRIVATE . ) ``` main.cpp ```cpp #include ``` hello.hpp...

from aminya/cpp_vcpkg_project#35. Additionally, add `[WORKING_DIRECTORY ]` and `[WILL_FAIL]` to specify the corresponding test property.

Add a function `convert_genex_semicolons` to convert semicolons inside generator expressions into `$`. After this function, the list contains generator expressions can be properly iterated. ```cmake set(dirs "$" "$") convert_genex_semicolons("${dirs}" dirs)...

I used `Ninja Multi-Config` as the generator and linked a library that has multiple header directories (SDL2 using conan 2.0). That is, ```bash lib="SDL2::SDL2"; lib_include_dirs=" $; $ " ``` Notice...

bug

Add a cmake module `cmake/AddTest.cmake` that provides wrappers to simplify test writing, especially when many tiny tests are required (learnt the idea from [range-v3](https://github.com/ericniebler/range-v3/blob/master/test/CMakeLists.txt)). I can't measure how general this...

This library fails to compile with libc++ when `#include ` in front of `#include `. [godbolt](https://godbolt.org/z/jodcq7M3h) ```txt /Users/feignclaims/.conan2/p/b/boost44f8b84116680/p/include/ut2:169:8: error: reference to 'basic_ostream' is ambiguous 169 | extern basic_ostream clog; //...

From the log of [(windows-2022, llvm-16.0.6, *, *) jobs](https://github.com/FeignClaims/cpp_conan_template/actions/runs/9096397009/job/25001719153), for the setup-cpp action specified as ```yaml - name: Setup cpp uses: aminya/[email protected] with: compiler: llvm-16.0.6 vcvarsall: true cmake: true ninja:...

bug

fix #259 by using generator expressions and `CMAKE_INTERPROCEDURAL_OPTIMIZATION_`.

Currently the project determine whether to enable some hardening options and LTO based on `CMAKE_BUILD_TYPE`, which is not set (and impossible to set) when a multi-configuration generator is used. https://github.com/aminya/project_options/blob/46081b21083cccf6a3be6bc8b73d3f6b39eb4964/src/Hardening.cmake#L47...

Although not universally appicable to all `IMPORTED` targets as #167 is trying to do, vcpkg and conan 2.4.0 already provide a way to install their `IMPORTED` targets: - vcpkg provides...