cmake support: first cut from David Vaz work.i
This commit is contained in:
9
library/CMakeLists.txt
Normal file
9
library/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
add_subdirectory(lammpi)
|
||||
add_subdirectory(matlab)
|
||||
add_subdirectory(matrix)
|
||||
add_subdirectory(mpi)
|
||||
add_subdirectory(random)
|
||||
add_subdirectory(regex)
|
||||
add_subdirectory(rltree)
|
||||
add_subdirectory(system)
|
||||
add_subdirectory(tries)
|
31
library/lammpi/CMakeLists.txt
Normal file
31
library/lammpi/CMakeLists.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
macro_optional_find_package (MPI OFF)
|
||||
macro_log_feature (MPI_C_FOUND "mpi"
|
||||
"MPI Distributed Parallel Programming"
|
||||
"http://gmplib.org")
|
||||
if (MPI_C_FOUND)
|
||||
# This module will set the following variables per language in your
|
||||
# project, where <lang> is one of C, CXX, or Fortran:
|
||||
#
|
||||
# ::
|
||||
#
|
||||
# MPI_<lang>_FOUND TRUE if FindMPI found MPI flags for <lang>
|
||||
# MPI_<lang>_COMPILER MPI Compiler wrapper for <lang>
|
||||
# MPI_<lang>_COMPILE_FLAGS Compilation flags for MPI programs
|
||||
# MPI_<lang>_INCLUDE_PATH Include path(s) for MPI header
|
||||
# MPI_<lang>_LINK_FLAGS Linking flags for MPI programs
|
||||
# MPI_<lang>_LIBRARIES All libraries to link MPI programs against
|
||||
#
|
||||
# Additionally, FindMPI sets the following variables for running MPI
|
||||
# programs from the command line:
|
||||
#
|
||||
# ::
|
||||
#
|
||||
# MPIEXEC Executable for running MPI programs
|
||||
# MPIEXEC_NUMPROC_FLAG Flag to pass to MPIEXEC before giving
|
||||
# it the number of processors to run on
|
||||
# MPIEXEC_PREFLAGS Flags to pass to MPIEXEC directly
|
||||
# before the executable to run.
|
||||
# MPIEXEC_POSTFLAGS Flags to pass to MPIEXEC after other flags
|
||||
#
|
||||
endif (MPI_C_FOUND)
|
||||
|
12
library/matlab/CMakeLists.txt
Normal file
12
library/matlab/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
macro_optional_find_package (Matlab OFF)
|
||||
macro_log_feature (MATLAB_FOUND "matlab"
|
||||
"MATLAB Distributed Parallel Programming"
|
||||
"http://matlab.com")
|
||||
if (MATLAB_FOUND)
|
||||
# MATLAB_INCLUDE_DIR: include path for mex.h, engine.h
|
||||
# MATLAB_LIBRARIES: required libraries: libmex, etc
|
||||
# MATLAB_MEX_LIBRARY: path to libmex.lib
|
||||
# MATLAB_MX_LIBRARY: path to libmx.lib
|
||||
# MATLAB_ENG_LIBRARY: path to libeng.lib
|
||||
endif (MATLAB_FOUND)
|
||||
|
0
library/matrix/CMakeLists.txt
Normal file
0
library/matrix/CMakeLists.txt
Normal file
0
library/mpi/CMakeLists.txt
Normal file
0
library/mpi/CMakeLists.txt
Normal file
0
library/random/CMakeLists.txt
Normal file
0
library/random/CMakeLists.txt
Normal file
0
library/regex/CMakeLists.txt
Normal file
0
library/regex/CMakeLists.txt
Normal file
0
library/rltree/CMakeLists.txt
Normal file
0
library/rltree/CMakeLists.txt
Normal file
0
library/system/CMakeLists.txt
Normal file
0
library/system/CMakeLists.txt
Normal file
0
library/tries/CMakeLists.txt
Normal file
0
library/tries/CMakeLists.txt
Normal file
Reference in New Issue
Block a user