Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GILES
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
erdnaxe
GILES
Commits
ee4c09bf
Commit
ee4c09bf
authored
Apr 05, 2019
by
Scott Egerton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 1.0.0 version number
parent
513d0be6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
CMakeLists.txt
+6
-2
No files found.
CMakeLists.txt
View file @
ee4c09bf
...
...
@@ -15,12 +15,16 @@
along with ELMO-2. If not, see <http://www.gnu.org/licenses/>.
#]=]
# Specify the minimum version for CMake
# Specify the minimum
required
version for CMake
cmake_minimum_required
(
VERSION 3.0
)
# Project's name
project
(
ELMO-2
)
set
(
${
PROJECT_NAME
}
_VERSION_MAJOR 1
)
set
(
${
PROJECT_NAME
}
_VERSION_MINOR 0
)
set
(
${
PROJECT_NAME
}
_VERSION_PATCH 0
)
# Stricter warnings
# TODO: Replace with this: https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/#leave-cmake_cxx_flags-alone
#set(Custom_Flags "${Custom_Flags} -Wall -Wextra -Wpedantic -Weffc++")
...
...
@@ -45,7 +49,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0")
# Warnings are errors
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Werror"
)
#
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
# Place executables into a 'bin' folder
set
(
EXECUTABLE_OUTPUT_PATH
${
CMAKE_CURRENT_BINARY_DIR
}
/bin
)
...
...
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