Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
cffb98d1
Commit
cffb98d1
authored
Oct 12, 2009
by
Jesse Beder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patched for optional building of tests and tools
parent
3e1ba0f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
+6
-2
No files found.
CMakeLists.txt
View file @
cffb98d1
...
...
@@ -20,6 +20,8 @@ set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML
enable_testing
()
option
(
YAML_CPP_BUILD_TOOLS
"Enables or disables yaml-reader and parse tools"
true
)
if
(
WIN32
)
set
(
_library_dir bin
)
# .dll are in PATH, like executables
else
(
WIN32
)
...
...
@@ -64,5 +66,7 @@ if(UNIX)
install
(
FILES
${
PC_FILE
}
DESTINATION
${
LIB_INSTALL_DIR
}
/pkgconfig
)
endif
(
UNIX
)
add_subdirectory
(
yaml-reader
)
add_subdirectory
(
util
)
if
(
YAML_CPP_BUILD_TOOLS
)
add_subdirectory
(
yaml-reader
)
add_subdirectory
(
util
)
endif
(
YAML_CPP_BUILD_TOOLS
)
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