We want to be consistent with the previous layout, to avoid needlessly breaking existing codes. The header update means client codes are not required to include all of the stepcode library includes explicitly - i.e., stepcode itself does not force this requirement with its own internal includes. However, if client codes do not want to add the library prefixes to their own includes as we have for stepcode, they should still be able to add the various includes and work as before. Adjust the include directory names accordingly.
53 lines
1023 B
CMake
53 lines
1023 B
CMake
set(express_HDRS
|
|
express/alg.h
|
|
express/basic.h
|
|
express/caseitem.h
|
|
express/dict.h
|
|
express/entity.h
|
|
express/error.h
|
|
express/expbasic.h
|
|
express/expr.h
|
|
express/express.h
|
|
express/hash.h
|
|
express/lexact.h
|
|
express/linklist.h
|
|
express/memory.h
|
|
express/object.h
|
|
express/resolve.h
|
|
express/schema.h
|
|
express/scope.h
|
|
express/stmt.h
|
|
express/symbol.h
|
|
express/type.h
|
|
express/variable.h
|
|
)
|
|
install(FILES ${express_HDRS}
|
|
DESTINATION ${INCLUDE_DIR}/stepcode/express)
|
|
|
|
set(exppp_HDRS
|
|
exppp/exppp.h
|
|
)
|
|
install(FILES ${exppp_HDRS}
|
|
DESTINATION ${INCLUDE_DIR}/stepcode/exppp)
|
|
|
|
install(FILES ordered_attrs.h
|
|
sc_export.h
|
|
DESTINATION ${INCLUDE_DIR}/stepcode)
|
|
|
|
install(FILES ${SC_BINARY_DIR}/${INCLUDE_DIR}/config.h
|
|
DESTINATION ${INCLUDE_DIR}/stepcode)
|
|
|
|
add_subdirectory(cldai)
|
|
add_subdirectory(cleditor)
|
|
add_subdirectory(cllazyfile)
|
|
add_subdirectory(clstepcore)
|
|
add_subdirectory(clutils)
|
|
|
|
# Local Variables:
|
|
# tab-width: 8
|
|
# mode: cmake
|
|
# indent-tabs-mode: t
|
|
# End:
|
|
# ex: shiftwidth=2 tabstop=8
|
|
|