Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
63b2a1fe
Commit
63b2a1fe
authored
Dec 11, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added __WXDEBUG__ for debug compiles
parent
ffc0f193
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+3
-2
No files found.
CMakeLists.txt
View file @
63b2a1fe
...
@@ -8,8 +8,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
...
@@ -8,8 +8,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
#SET(CMAKE_VERBOSE_MAKEFILE ON)
#SET(CMAKE_VERBOSE_MAKEFILE ON)
# Set default flags for Debug build
# Set default flags for Debug build
SET
(
CMAKE_C_FLAGS_DEBUG
"-Wall -g3 -ggdb3 -DDEBUG"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"-Wall -g3 -ggdb3 -DDEBUG -D__WXDEBUG__"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"-Wall -g3 -ggdb3 -DDEBUG"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"-Wall -g3 -ggdb3 -DDEBUG -D__WXDEBUG__"
)
# Set default flags for Release build
# Set default flags for Release build
SET
(
CMAKE_C_FLAGS_RELEASE
"-Wall -O2 -DNDEBUG"
)
SET
(
CMAKE_C_FLAGS_RELEASE
"-Wall -O2 -DNDEBUG"
)
SET
(
CMAKE_CXX_FLAGS_RELEASE
"-Wall -O2 -DNDEBUG"
)
SET
(
CMAKE_CXX_FLAGS_RELEASE
"-Wall -O2 -DNDEBUG"
)
...
...
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