Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
patate
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
patate
patate
Commits
85eae133
Commit
85eae133
authored
Jun 14, 2017
by
Nicolas Mellado
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add install target in CMakefile
parent
d4ef1432
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
CMakeLists.txt
CMakeLists.txt
+11
-0
No files found.
CMakeLists.txt
View file @
85eae133
...
...
@@ -42,6 +42,17 @@ endif()
add_subdirectory
(
Patate/common EXCLUDE_FROM_ALL
)
#endif()
################################################################################
# Generate install target #
################################################################################
if
(
NOT INCLUDE_INSTALL_DIR
)
set
(
INCLUDE_INSTALL_DIR
${
CMAKE_INSTALL_PREFIX
}
/include
)
endif
(
NOT INCLUDE_INSTALL_DIR
)
install
(
DIRECTORY Patate DESTINATION
${
INCLUDE_INSTALL_DIR
}
FILES_MATCHING REGEX
".*
\\
.(hpp|h)$"
)
message
(
"Patate will be installed in
${
INCLUDE_INSTALL_DIR
}
/Patate"
)
################################################################################
# Generate Vitelotte's shaders #
# TODO: find a more appropriate place for this. #
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment