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
6c8b3693
Commit
6c8b3693
authored
May 19, 2012
by
Jesse Beder
Browse files
Updated CMakeLists from new-api
parent
be925472
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
CMakeLists.txt
+6
-3
No files found.
CMakeLists.txt
View file @
6c8b3693
...
@@ -22,7 +22,7 @@ include(CheckCXXCompilerFlag)
...
@@ -22,7 +22,7 @@ include(CheckCXXCompilerFlag)
project
(
YAML_CPP
)
project
(
YAML_CPP
)
set
(
YAML_CPP_VERSION_MAJOR
"0"
)
set
(
YAML_CPP_VERSION_MAJOR
"0"
)
set
(
YAML_CPP_VERSION_MINOR
"
3
"
)
set
(
YAML_CPP_VERSION_MINOR
"
5
"
)
set
(
YAML_CPP_VERSION_PATCH
"0"
)
set
(
YAML_CPP_VERSION_PATCH
"0"
)
set
(
YAML_CPP_VERSION
"
${
YAML_CPP_VERSION_MAJOR
}
.
${
YAML_CPP_VERSION_MINOR
}
.
${
YAML_CPP_VERSION_PATCH
}
"
)
set
(
YAML_CPP_VERSION
"
${
YAML_CPP_VERSION_MAJOR
}
.
${
YAML_CPP_VERSION_MINOR
}
.
${
YAML_CPP_VERSION_PATCH
}
"
)
...
@@ -57,7 +57,7 @@ option(MSVC_STHREADED_RT "MSVC: Build with single-threaded static runtime libs (
...
@@ -57,7 +57,7 @@ option(MSVC_STHREADED_RT "MSVC: Build with single-threaded static runtime libs (
set
(
header_directory
"include/yaml-cpp/"
)
set
(
header_directory
"include/yaml-cpp/"
)
file
(
GLOB sources
"src/[a-zA-Z]*.cpp"
)
file
(
GLOB sources
"src/[a-zA-Z]*.cpp"
)
file
(
GLOB public_headers
"include/yaml-cpp/[a-zA-Z]*.h"
)
file
(
GLOB
_RECURSE
public_headers
"include/yaml-cpp/[a-zA-Z]*.h"
)
file
(
GLOB private_headers
"src/[a-zA-Z]*.h"
)
file
(
GLOB private_headers
"src/[a-zA-Z]*.h"
)
if
(
YAML_CPP_BUILD_CONTRIB
)
if
(
YAML_CPP_BUILD_CONTRIB
)
...
@@ -77,8 +77,11 @@ if(VERBOSE)
...
@@ -77,8 +77,11 @@ if(VERBOSE)
message
(
STATUS
"contrib_private_headers:
${
contrib_private_headers
}
"
)
message
(
STATUS
"contrib_private_headers:
${
contrib_private_headers
}
"
)
endif
()
endif
()
include_directories
(
${
YAML_CPP_SOURCE_DIR
}
/include
)
include_directories
(
${
YAML_CPP_SOURCE_DIR
}
/src
)
include_directories
(
${
YAML_CPP_SOURCE_DIR
}
/src
)
include_directories
(
${
YAML_CPP_SOURCE_DIR
}
/include
)
find_package
(
Boost REQUIRED
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
###
###
...
...
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