Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gmrvvissp
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
gmrvvissp
Commits
73458364
Commit
73458364
authored
Nov 09, 2015
by
Pablo Toharia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added -D_DEBUG tried to set default source dir to /src.
parent
f0958edc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CMakeLists.txt
CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
73458364
project
(
gmrvvissp
)
project
(
gmrvvissp
)
cmake_minimum_required
(
VERSION 2.8 FATAL_ERROR
)
cmake_minimum_required
(
VERSION 2.8 FATAL_ERROR
)
set
(
COMMON_SOURCE_DIR
${
CMAKE_SOURCE_DIR
}
/src
)
# Disable in source building
# Disable in source building
if
(
"
${
PROJECT_SOURCE_DIR
}
"
STREQUAL
"
${
PROJECT_BINARY_DIR
}
"
)
if
(
"
${
PROJECT_SOURCE_DIR
}
"
STREQUAL
"
${
PROJECT_BINARY_DIR
}
"
)
message
(
FATAL
"no in source building allowed."
)
message
(
FATAL
"no in source building allowed."
)
...
@@ -16,6 +19,7 @@ endif(NOT CMAKE_BUILD_TYPE)
...
@@ -16,6 +19,7 @@ endif(NOT CMAKE_BUILD_TYPE)
if
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
if
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
add_definitions
(
-DDEBUG
)
add_definitions
(
-DDEBUG
)
add_definitions
(
-D_DEBUG
)
endif
()
endif
()
include
(
GitExternal
)
include
(
GitExternal
)
...
...
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