Skip to content
Snippets Groups Projects
Commit 124bf8fd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix taucs search + purge

parent 90df7b19
No related branches found
No related tags found
No related merge requests found
...@@ -227,6 +227,7 @@ add_subdirectory(Common) ...@@ -227,6 +227,7 @@ add_subdirectory(Common)
add_subdirectory(Numeric) add_subdirectory(Numeric)
add_subdirectory(Geo) add_subdirectory(Geo)
add_subdirectory(Mesh) add_subdirectory(Mesh)
add_subdirectory(Solver)
if(ENABLE_POST) if(ENABLE_POST)
add_subdirectory(Post) add_subdirectory(Post)
...@@ -477,11 +478,9 @@ if(ENABLE_MED OR ENABLE_CGNS) ...@@ -477,11 +478,9 @@ if(ENABLE_MED OR ENABLE_CGNS)
endif(ENABLE_MED OR ENABLE_CGNS) endif(ENABLE_MED OR ENABLE_CGNS)
if(ENABLE_TAUCS) if(ENABLE_TAUCS)
find_library(TAUCS_LIB taucs PATHS ENV CASROOT find_library(TAUCS_LIB taucs)
PATH_SUFFIXES lib)
if(TAUCS_LIB) if(TAUCS_LIB)
find_path(TAUCS_INC "taucs.h" PATHS ENV CASROOT PATH_SUFFIXES src find_path(TAUCS_INC "taucs.h" PATH_SUFFIXES src include)
include)
if(TAUCS_INC) if(TAUCS_INC)
set(HAVE_TAUCS TRUE) set(HAVE_TAUCS TRUE)
list(APPEND CONFIG_OPTIONS "Taucs") list(APPEND CONFIG_OPTIONS "Taucs")
...@@ -491,8 +490,6 @@ if(ENABLE_TAUCS) ...@@ -491,8 +490,6 @@ if(ENABLE_TAUCS)
endif(TAUCS_LIB) endif(TAUCS_LIB)
endif(ENABLE_TAUCS) endif(ENABLE_TAUCS)
add_subdirectory(Solver)
if(ENABLE_OCC) if(ENABLE_OCC)
if(WIN32) if(WIN32)
set(OCC_SYS_NAME win32) set(OCC_SYS_NAME win32)
...@@ -707,9 +704,14 @@ if(BISON AND FLEX) ...@@ -707,9 +704,14 @@ if(BISON AND FLEX)
endif(BISON AND FLEX) endif(BISON AND FLEX)
if(UNIX) 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}) 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}) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
endif(UNIX) endif(UNIX)
......
#!/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}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment