Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
67f49d96
Commit
67f49d96
authored
May 29, 2009
by
Jesse Beder
Browse files
Patched - install target
parent
820f45b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
CMakeLists.txt
CMakeLists.txt
+13
-1
No files found.
CMakeLists.txt
View file @
67f49d96
cmake_minimum_required
(
VERSION 2.6
)
cmake_minimum_required
(
VERSION 2.6
)
project
(
YAML_CPP
)
project
(
YAML_CPP
)
set
(
LIBRARY_OUTPUT_PATH
${
YAML_CPP_SOURCE_DIR
}
/lib
)
set
(
LIBRARY_OUTPUT_PATH lib
${
LIB_SUFFIX
}
)
set
(
LIB_INSTALL_DIR lib
${
LIB_SUFFIX
}
)
set
(
INCLUDE_INSTALL_DIR include/yaml-cpp
)
file
(
GLOB public_headers include/*.h
)
file
(
GLOB public_headers include/*.h
)
file
(
GLOB private_headers src/*.h
)
file
(
GLOB private_headers src/*.h
)
...
@@ -14,5 +16,15 @@ add_library(yaml-cpp
...
@@ -14,5 +16,15 @@ add_library(yaml-cpp
${
sources
}
${
sources
}
)
)
install
(
TARGETS yaml-cpp
LIBRARY ARCHIVE
DESTINATION
${
LIB_INSTALL_DIR
}
)
install
(
FILES
${
public_headers
}
DESTINATION
${
INCLUDE_INSTALL_DIR
}
)
add_subdirectory
(
yaml-reader
)
add_subdirectory
(
yaml-reader
)
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