Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
a3065c30
Commit
a3065c30
authored
Jul 20, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't write top-level Makefile when not using make
parent
e0bb78cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
configure
configure
+11
-4
No files found.
configure
View file @
a3065c30
...
@@ -134,9 +134,6 @@ configure ()
...
@@ -134,9 +134,6 @@ configure ()
if
[
-n
"
$5
"
]
;
then
if
[
-n
"
$5
"
]
;
then
cmake
-G
"
$5
"
$CMakeCacheEntries
$sourcedir
cmake
-G
"
$5
"
$CMakeCacheEntries
$sourcedir
elif
[
-n
"
$DEFAULT_CMAKE_GENERATOR
"
]
;
then
# parse custom environment variable
cmake
-G
"
$DEFAULT_CMAKE_GENERATOR
"
$CMakeCacheEntries
$sourcedir
else
else
cmake
$CMakeCacheEntries
$sourcedir
cmake
$CMakeCacheEntries
$sourcedir
fi
fi
...
@@ -158,7 +155,12 @@ configure ()
...
@@ -158,7 +155,12 @@ configure ()
builddir
=
"
$sourcedir
/build"
builddir
=
"
$sourcedir
/build"
CMakeCacheEntries
=
""
CMakeCacheEntries
=
""
append_cache_entry CMAKE_INSTALL_PREFIX PATH /usr/local
append_cache_entry CMAKE_INSTALL_PREFIX PATH /usr/local
append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL
false
append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL
false
# parse custom environment variable to initialize CMakeGenerator
if
[
-n
"
$DEFAULT_CMAKE_GENERATOR
"
]
;
then
CMakeGenerator
=
"
$DEFAULT_CMAKE_GENERATOR
"
fi
# Parse arguments.
# Parse arguments.
while
[
$#
-ne
0
]
;
do
while
[
$#
-ne
0
]
;
do
...
@@ -303,6 +305,11 @@ else
...
@@ -303,6 +305,11 @@ else
configure
"
$compiler
"
""
"
$bindir
"
"
$libdir
"
"
$CMakeGenerator
"
configure
"
$compiler
"
""
"
$bindir
"
"
$libdir
"
"
$CMakeGenerator
"
fi
fi
if
[
-n
"
$CMakeGenerator
"
]
&&
[
"
$CMakeGenerator
"
!=
"Unix"
]
;
then
# skip Makefile-specific code below when not using make
exit
0
fi
printf
"DIRS := %s
\n\n
"
"
$workdirs
"
>
$sourcedir
/Makefile
printf
"DIRS := %s
\n\n
"
"
$workdirs
"
>
$sourcedir
/Makefile
makefile
=
`
cat
<<
'
EOT
'
makefile
=
`
cat
<<
'
EOT
'
all:
all:
...
...
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