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
dd0f2577
Commit
dd0f2577
authored
Jun 18, 2013
by
Jesse Beder
Browse files
Options
Browse Files
Download
Plain Diff
Merged make build fix from core
parents
4f858a47
e40ed4f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
CMakeLists.txt
+4
-1
No files found.
CMakeLists.txt
View file @
dd0f2577
...
@@ -141,7 +141,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
...
@@ -141,7 +141,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif
()
endif
()
#
#
set
(
CMAKE_CXX_FLAGS
"-Wall
${
GCC_EXTRA_OPTIONS
}
-pedantic -Wno-long-long
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"-Wall
${
GCC_EXTRA_OPTIONS
}
-pedantic -Wno-long-long
${
CMAKE_CXX_FLAGS
}
"
)
#
### Make specific
if
(
${
CMAKE_BUILD_TOOL
}
STREQUAL make OR
${
CMAKE_BUILD_TOOL
}
STREQUAL gmake
)
add_custom_target
(
debuggable $
(
MAKE
)
clean
add_custom_target
(
debuggable $
(
MAKE
)
clean
COMMAND
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Debug
${
CMAKE_SOURCE_DIR
}
COMMAND
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Debug
${
CMAKE_SOURCE_DIR
}
COMMENT
"Adjusting settings for debug compilation"
COMMENT
"Adjusting settings for debug compilation"
...
@@ -150,6 +152,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
...
@@ -150,6 +152,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
COMMAND
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Release
${
CMAKE_SOURCE_DIR
}
COMMAND
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Release
${
CMAKE_SOURCE_DIR
}
COMMENT
"Adjusting settings for release compilation"
COMMENT
"Adjusting settings for release compilation"
VERBATIM
)
VERBATIM
)
endif
()
endif
()
endif
()
# Microsoft VisualC++ specialities
# Microsoft VisualC++ specialities
...
...
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