Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
124bf8fd
Commit
124bf8fd
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix taucs search + purge
parent
90df7b19
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+16
-14
16 additions, 14 deletions
CMakeLists.txt
utils/misc/purge.sh
+0
-7
0 additions, 7 deletions
utils/misc/purge.sh
with
16 additions
and
21 deletions
CMakeLists.txt
+
16
−
14
View file @
124bf8fd
...
...
@@ -227,6 +227,7 @@ add_subdirectory(Common)
add_subdirectory
(
Numeric
)
add_subdirectory
(
Geo
)
add_subdirectory
(
Mesh
)
add_subdirectory
(
Solver
)
if
(
ENABLE_POST
)
add_subdirectory
(
Post
)
...
...
@@ -477,22 +478,18 @@ if(ENABLE_MED OR ENABLE_CGNS)
endif
(
ENABLE_MED OR ENABLE_CGNS
)
if
(
ENABLE_TAUCS
)
find_library
(
TAUCS_LIB taucs PATHS ENV CASROOT
PATH_SUFFIXES lib
)
find_library
(
TAUCS_LIB taucs
)
if
(
TAUCS_LIB
)
find_path
(
TAUCS_INC
"taucs.h"
PATHS ENV CASROOT PATH_SUFFIXES src
include
)
if
(
TAUCS_INC
)
set
(
HAVE_TAUCS TRUE
)
list
(
APPEND CONFIG_OPTIONS
"Taucs"
)
list
(
APPEND EXTERNAL_LIBRARIES
${
TAUCS_LIB
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
TAUCS_INC
}
)
endif
(
TAUCS_INC
)
find_path
(
TAUCS_INC
"taucs.h"
PATH_SUFFIXES src include
)
if
(
TAUCS_INC
)
set
(
HAVE_TAUCS TRUE
)
list
(
APPEND CONFIG_OPTIONS
"Taucs"
)
list
(
APPEND EXTERNAL_LIBRARIES
${
TAUCS_LIB
}
)
list
(
APPEND EXTERNAL_INCLUDES
${
TAUCS_INC
}
)
endif
(
TAUCS_INC
)
endif
(
TAUCS_LIB
)
endif
(
ENABLE_TAUCS
)
add_subdirectory
(
Solver
)
if
(
ENABLE_OCC
)
if
(
WIN32
)
set
(
OCC_SYS_NAME win32
)
...
...
@@ -707,9 +704,14 @@ if(BISON AND FLEX)
endif
(
BISON AND FLEX
)
if
(
UNIX
)
add_custom_target
(
purge COMMAND
${
CMAKE_SOURCE_DIR
}
/utils/misc/purge.sh
# cannot use cmake's file search functions here (they would only
# find files existing at configuration time)
add_custom_target
(
purge
COMMAND rm -f `find . -name *~ -o -name *~~`
COMMAND rm -f `find . -name .DS_Store -o -name debug?.pos`
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
add_custom_target
(
etags COMMAND etags `find . -name *.cpp -o -name *.h -o -name *.y`
add_custom_target
(
etags
COMMAND etags `find . -name *.cpp -o -name *.h -o -name *.y`
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
endif
(
UNIX
)
...
...
This diff is collapsed.
Click to expand it.
utils/misc/purge.sh
deleted
100755 → 0
+
0
−
7
View file @
90df7b19
#!/bin/sh
to_delete
=
`
find
.
-name
"*~"
-o
-name
"*~~"
-o
-name
".gmsh-errors"
\
-o
-name
"
\#
*"
-o
-name
".
\#
*"
-o
-name
".DS_Store"
\
-o
-name
"gmon.out"
-o
-name
".gdb_history"
-o
-name
"debug?.pos"
\
-o
-name
"*.bak"
`
rm
-f
${
to_delete
}
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