Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chaosframework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaos-lnf-control
chaosframework
Commits
43e320f5
Commit
43e320f5
authored
12 years ago
by
Claudio Bisegni
Browse files
Options
Downloads
Patches
Plain Diff
CMakeLists modification for set the 32bit compialtion
Change-Id: Iddcdfd4954a55ecae1c84ae6e67741eb9fea5d88
parent
36ed09a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+12
-0
12 additions, 0 deletions
CMakeLists.txt
with
12 additions
and
0 deletions
CMakeLists.txt
+
12
−
0
View file @
43e320f5
cmake_minimum_required
(
VERSION 2.6
)
project
(
chaos
)
SET
(
${
PROJECT_NAME
}
_MAJOR_VERSION 0
)
SET
(
${
PROJECT_NAME
}
_MINOR_VERSION 1
)
SET
(
${
PROJECT_NAME
}
_PATCH_LEVEL 0
)
OPTION
(
BUILD_FORCE_32
"Force 32 bit compilation"
OFF
)
EXECUTE_PROCESS
(
COMMAND chaos/common/version.sh
)
INCLUDE_DIRECTORIES
(
.
)
ADD_DEFINITIONS
(
-g -O2 -Wall
)
IF
(
BUILD_FORCE_32
)
MESSAGE
(
STATUS
"Forcing 32 bit compilation"
)
set
(
CMAKE_C_FLAGS
"-m32 -march=i686"
)
set
(
CMAKE_CXX_FLAGS
"-m32 -march=i686"
)
set
(
CMAKE_LINK_FLAGS
"-m32 -march=i686"
)
ENDIF
()
ADD_SUBDIRECTORY
(
chaos/common bin_common
)
ADD_SUBDIRECTORY
(
chaos/cu_toolkit bin_cutoolkit
)
ADD_SUBDIRECTORY
(
chaos/ui_toolkit bin_uitoolkit
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment