Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Core Modules
dune-common
Commits
c9aef0f5
Commit
c9aef0f5
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
adapt duneproject to latest changes.
[[Imported from SVN: r6959]]
parent
092ee83c
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
bin/duneproject
+15
-3
15 additions, 3 deletions
bin/duneproject
with
15 additions
and
3 deletions
bin/duneproject
+
15
−
3
View file @
c9aef0f5
...
...
@@ -313,7 +313,7 @@ echo "writing initial files:"
# we need the module with _ instead of - to not confuse automake
fix_and_assign CMODULE
$MODULE
NAME
=
`
echo
$PROJECT
|
sed
-e
's/dune[_-]//'
|
tr
'-'
'_'
`
UNAME
=
`
echo
$PROJECT
|
tr
'-'
'_'
|
sed
's/\(.*\)/\U\1/'
`
################## CONFIGURE.AC ##################
echo
"-
$PROJECT
/configure.ac"
cat
>
"
$PROJECT
/configure.ac"
<<
C_DELIM
...
...
@@ -465,11 +465,11 @@ M_DELIM
################## CMakeLists.txt ##################
echo
" -
$PROJECT
/CMakeLists.txt"
cat
>
"
$PROJECT
/CMakeLists.txt"
<<
M_DELIM
cmake_minimum_required(VERSION 2.8.
8
)
cmake_minimum_required(VERSION 2.8.
9
)
project(
$PROJECT
CXX)
# for this to work you will have to modify the CMAKE_MODULE_PATH
#
set(CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_SOURCE_DIR
}
/cmake/modules")
set(CMAKE_MODULE_PATH
\
$
{CMAKE_MODULE_PATH} "
\
$
{CMAKE_SOURCE_DIR}/cmake/modules")
#include the dune macros
include(DuneMacros)
...
...
@@ -833,6 +833,18 @@ cat> "$PROJECT/config.h.cmake" <<EOF
/* end private */
/* Define to the version of
$PROJECT
*/
#define
${
UNAME
}
_VERSION "@
${
UNAME
}
_VERSION@"
/* Define to the major version of
$PROJECT
*/
#define
${
UNAME
}
_VERSION_MAJOR @
${
UNAME
}
_VERSION_MAJOR@
/* Define to the minor version of
$PROJECT
*/
#define
${
UNAME
}
_VERSION_MINOR @
${
UNAME
}
_VERSION_MINOR@
/* Define to the revision of
$PROJECT
*/
#define
${
UNAME
}
_VERSION_REVISION @
${
UNAME
}
_VERSION_REVISION@
/* end
$NAME
Everything below here will be overwritten
*/
...
...
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