project_options icon indicating copy to clipboard operation
project_options copied to clipboard

A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.

Results 38 project_options issues
Sort by recently updated
recently updated
newest added

I don't know if this problem is related to this project, or if the problem is related to CMake or another tool. Anyway, I wrote here, because I am taking...

## Upvote & Fund - I am using [Polar.sh](https://polar.sh/aminya) so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by...

enhancement

Add function to setup `-DCMAKE_TOOLCHAIN_FILE`/`-DVCPKG_TOOLCHAIN_FILE` and `include()` toolchain via `-DOPT_TARGET_TRIPLET:STRING=x64-mingw-dynamic` option. **Example:** ```cmake project_options( TARGET_TRIPLET "x64-mingw-dynamic" ) ``` or with cmake arguments: ```cmake # for custom toolchains cmake ... -DOPT_TOOLCHAIN_FILE:STRING="..."...

enhancement
pr-welcome

https://github.com/catchorg/Catch2/issues/2437#issuecomment-1146878883

blocked

https://github.com/aminya/cpp_vcpkg_project/pull/9 I have written a macro in [project_options](https://github.com/aminya/project_options/blob/72ac65a97a97c4bb21860c1712f608304eeffebe/src/MinGW.cmake#L113) to try to fix the `WinMain` issue in MinGW. But adding `-municode` as a compile option doesn't fix the issue. Adding it...

bug

add symlink to Index.cmake to enable use with CPM.cmake module too This fix https://github.com/cpp-best-practices/project_options/issues/104 too

bug
blocked

https://github.com/ejfitzgerald/clang-tidy-cache/ Blocked by: - https://github.com/ejfitzgerald/clang-tidy-cache/pull/19 - https://github.com/ejfitzgerald/clang-tidy-cache/pull/18 - https://github.com/ejfitzgerald/clang-tidy-cache/pull/17 - https://github.com/ejfitzgerald/clang-tidy-cache/pull/16 - https://github.com/ejfitzgerald/clang-tidy-cache/pull/15 - https://github.com/ejfitzgerald/clang-tidy-cache/pull/10

blocked

This flag fails on some ARM platforms including the Apple M1 ([1](https://github.com/DMOJ/judge-server/issues/303), [2](https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1)). We may be able to check whether it is supported by using `clang -march=native -cx /dev/null` ([1](https://stackoverflow.com/questions/52557417/how-to-check-support-compile-flag-in-autoconf-for-clang),...

enhancement

Trying to run a command such as: `cmake -S . -B ./build -G "Ninja Multi-Config" -DCMAKE_BUILD_TYPE:STRING=Debug -DENABLE_DEVELOPER_MODE:BOOL=OFF -DOPT_ENABLE_COVERAGE:BOOL=ON -DOPT_ENABLE_INCLUDE_WHAT_YOU_USE:BOOL=OFF` Results in the options not being overriden. The CMakeCache.txt contains ```...

bug

my `CMakeLists.txt` contains this: ```cmake # ---- Create library ---- # Note: for header-only libraries change all PUBLIC flags to INTERFACE and create an interface # target: add_library(${PROJECT_NAME} INTERFACE) add_library(${PROJECT_NAME}...

question