@@ -6,7 +6,7 @@ It provides different functions such as `project_options`, `package_project`, `d
66
77## Usage
88
9- See ` project_options() ` in action in [ this template repository] ( https://github.com/cpp-best-practices /cpp_vcpkg_project ) .
9+ See ` project_options() ` in action in [ this template repository] ( https://github.com/aminya /cpp_vcpkg_project ) .
1010
1111Here is a full example:
1212
@@ -18,10 +18,10 @@ cmake_minimum_required(VERSION 3.16)
1818# set(CMAKE_CXX_STANDARD 20)
1919
2020# Add project_options v0.19.0
21- # https://github.com/cpp-best-practices /project_options
21+ # https://github.com/aminya /project_options
2222# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
2323include(FetchContent)
24- FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices /project_options/archive/refs/tags/v0.19.0.zip)
24+ FetchContent_Declare(_project_options URL https://github.com/aminya /project_options/archive/refs/tags/v0.19.0.zip)
2525FetchContent_MakeAvailable(_project_options)
2626include(${_project_options_SOURCE_DIR}/Index.cmake)
2727
@@ -61,7 +61,7 @@ project_options(
6161
6262Then add the executables or libraries to the project:
6363
64- [ An executable] ( https://github.com/cpp-best-practices /cpp_vcpkg_project/tree/main/my_exe ) :
64+ [ An executable] ( https://github.com/aminya /cpp_vcpkg_project/tree/main/my_exe ) :
6565
6666``` cmake
6767add_executable(main main.cpp)
@@ -86,7 +86,7 @@ target_link_system_libraries(
8686package_project(TARGETS main)
8787```
8888
89- [ A header-only library] ( https://github.com/cpp-best-practices /cpp_vcpkg_project/tree/main/my_header_lib ) :
89+ [ A header-only library] ( https://github.com/aminya /cpp_vcpkg_project/tree/main/my_header_lib ) :
9090
9191``` cmake
9292add_library(my_header_lib INTERFACE)
@@ -120,7 +120,7 @@ package_project(
120120)
121121```
122122
123- [ A library with separate header and source files] ( https://github.com/cpp-best-practices /cpp_vcpkg_project/tree/main/my_lib )
123+ [ A library with separate header and source files] ( https://github.com/aminya /cpp_vcpkg_project/tree/main/my_lib )
124124
125125``` cmake
126126add_library(my_lib "./src/my_lib/lib.cpp")
@@ -277,7 +277,7 @@ If you need to fix a setting for the sake of a command-line configuration, you c
277277cmake -DOPT_< featurename> :BOOL=value
278278```
279279
280- See ` dynamic_project_options() ` in action in [ this template repository] ( https://github.com/cpp-best-practices /cpp_boilerplate_project ) .
280+ See ` dynamic_project_options() ` in action in [ this template repository] ( https://github.com/aminya /cpp_boilerplate_project ) .
281281
282282<details >
283283<summary > 👉 Click to show the example:</summary >
@@ -290,10 +290,10 @@ cmake_minimum_required(VERSION 3.16)
290290# set(CMAKE_CXX_STANDARD 20)
291291
292292# Add project_options v0.19.0
293- # https://github.com/cpp-best-practices /project_options
293+ # https://github.com/aminya /project_options
294294# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
295295include(FetchContent)
296- FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices /project_options/archive/refs/tags/v0.19.0.zip)
296+ FetchContent_Declare(_project_options URL https://github.com/aminya /project_options/archive/refs/tags/v0.19.0.zip)
297297FetchContent_MakeAvailable(_project_options)
298298include(${_project_options_SOURCE_DIR}/Index.cmake)
299299
0 commit comments