-
Notifications
You must be signed in to change notification settings - Fork 150
Add CMake Config-file package #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kevinAlbs
wants to merge
17
commits into
JuliaStrings:master
Choose a base branch
from
kevinAlbs:add-cmake-config-file-package
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
422de38
use relative paths for install
kevinAlbs 6e0b397
export and install targets
kevinAlbs bd73cd0
create and install package config file
kevinAlbs 4f5350b
install package version file
kevinAlbs c3d388b
add `Using with CMake` instructions
kevinAlbs 8e902de
fix whitespace
kevinAlbs 0238836
change `AnyNewerVersion` to `SameMajorVersion` for version compatibility
kevinAlbs afaa23c
make `Using with CMake` a subsection of `Quick Start`
kevinAlbs e3d29ea
relocate `Using with CMake`
kevinAlbs 8ed21d9
test consuming CMake package
kevinAlbs dede492
Merge remote-tracking branch 'upstream/master' into add-cmake-config-…
kevinAlbs c304962
revise Powershell PATH setting
kevinAlbs ca7057e
use `runner.os`
kevinAlbs bfb491c
revise Unix `PATH` setting
kevinAlbs 5d8c81b
use `CMAKE_INSTALL_PREFIX` instead of `--prefix`
kevinAlbs ad77e17
fix comparison
kevinAlbs 60205e4
remove test build directory from .gitignore
kevinAlbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@PACKAGE_INIT@ | ||
include("${CMAKE_CURRENT_LIST_DIR}/utf8proc-targets.cmake") | ||
# `check_required_components` is used to ensure consumer did not erroneously request components. | ||
# No components are currently defined. | ||
check_required_components(utf8proc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This is a test app to test consuming utf8proc with CMake. | ||
cmake_minimum_required(VERSION 3.16) | ||
project(utf8proc-test) | ||
find_package(utf8proc REQUIRED) | ||
add_executable(app app.c) | ||
target_link_libraries(app utf8proc::utf8proc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include <stdio.h> | ||
#include <utf8proc.h> | ||
|
||
int | ||
main(void) | ||
{ | ||
printf("%s\n", utf8proc_version()); | ||
return 0; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.