| 1 |
|
| 2 |
|
| 3 |
# |
| 4 |
# A) Package-specific configuration options |
| 5 |
# |
| 6 |
|
| 7 |
# |
| 8 |
# B) Define the header and source files (and directories) |
| 9 |
# |
| 10 |
|
| 11 |
SET(HEADERS "") |
| 12 |
SET(NOINSTALLHEADERS "") |
| 13 |
SET(SOURCES "") |
| 14 |
|
| 15 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) |
| 16 |
|
| 17 |
# Abstract headers |
| 18 |
APPEND_SET(HEADERS |
| 19 |
RBGen_ConfigDefs.h |
| 20 |
RBGen_FileIOFactory.hpp |
| 21 |
RBGen_FileIOHandler.hpp |
| 22 |
RBGen_Filter.hpp |
| 23 |
RBGen_MethodFactory.hpp |
| 24 |
RBGen_Method.hpp |
| 25 |
RBGen_NoPreprocessor.hpp |
| 26 |
RBGen_Params.h |
| 27 |
RBGen_PODMethod.hpp |
| 28 |
RBGen_PreprocessorFactory.hpp |
| 29 |
RBGen_Preprocessor.hpp |
| 30 |
RBGen_Version.h |
| 31 |
) |
| 32 |
|
| 33 |
APPEND_SET(SOURCES |
| 34 |
RBGen_Params.cpp |
| 35 |
) |
| 36 |
|
| 37 |
# |
| 38 |
# C) Define the targets for package's library(s) |
| 39 |
# |
| 40 |
|
| 41 |
IF (${PACKAGE_NAME}_ENABLE_RBGen) |
| 42 |
TRIBITS_ADD_LIBRARY( |
| 43 |
rbgen |
| 44 |
HEADERS ${HEADERS} |
| 45 |
NOINSTALLHEADERS ${NOINSTALLHEADERS} |
| 46 |
SOURCES ${SOURCES} |
| 47 |
DEPLIBS anasazi |
| 48 |
) |
| 49 |
ENDIF() |