"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmake/CMakeLists.txt" between
discount-2.2.4.tar.bz2 and discount-2.2.6.tar.bz2

About: Discount is an implementation of the "Markdown" markup language (written in C).

CMakeLists.txt  (discount-2.2.4.tar.bz2):CMakeLists.txt  (discount-2.2.6.tar.bz2)
skipping to change at line 20 skipping to change at line 20
set(${PROJECT_NAME}_WITH_TABSTOPS "4" CACHE STRING set(${PROJECT_NAME}_WITH_TABSTOPS "4" CACHE STRING
"Set tabstops to N characters (default is 4)") "Set tabstops to N characters (default is 4)")
set(TABSTOP "${${PROJECT_NAME}_WITH_TABSTOPS}") set(TABSTOP "${${PROJECT_NAME}_WITH_TABSTOPS}")
set(${PROJECT_NAME}_MAKE_INSTALL ON CACHE BOOL set(${PROJECT_NAME}_MAKE_INSTALL ON CACHE BOOL
"Set to OFF to disable install rules (default is ON)") "Set to OFF to disable install rules (default is ON)")
set(${PROJECT_NAME}_INSTALL_SAMPLES OFF CACHE BOOL set(${PROJECT_NAME}_INSTALL_SAMPLES OFF CACHE BOOL
"Set to ON to install sample programs (default is OFF)") "Set to ON to install sample programs (default is OFF)")
set(${PROJECT_NAME}_ONLY_LIBRARY OFF CACHE BOOL
"Set to ON to only build markdown library (default is OFF)")
# Check headers # Check headers
include(CheckIncludeFile) include(CheckIncludeFile)
check_include_file(libgen.h HAVE_LIBGEN_H) check_include_file(libgen.h HAVE_LIBGEN_H)
check_include_file(pwd.h HAVE_PWD_H) check_include_file(pwd.h HAVE_PWD_H)
check_include_file(alloca.h HAVE_ALLOCA_H) check_include_file(alloca.h HAVE_ALLOCA_H)
check_include_file(malloc.h HAVE_MALLOC_H) check_include_file(malloc.h HAVE_MALLOC_H)
check_include_file(sys/stat.h HAVE_STAT) check_include_file(sys/stat.h HAVE_STAT)
# Types detection (from configure.inc: AC_SCALAR_TYPES ()) # Types detection (from configure.inc: AC_SCALAR_TYPES ())
include(CheckTypeSize) include(CheckTypeSize)
skipping to change at line 144 skipping to change at line 147
"${_ROOT}/emmatch.c" "${_ROOT}/emmatch.c"
"${_ROOT}/github_flavoured.c" "${_ROOT}/github_flavoured.c"
"${_ROOT}/setup.c" "${_ROOT}/setup.c"
"${_ROOT}/blocktags" "${_ROOT}/tags.c" "${_ROOT}/blocktags" "${_ROOT}/tags.c"
"${_ROOT}/html5.c" "${_ROOT}/html5.c"
"${_ROOT}/flags.c") "${_ROOT}/flags.c")
set_target_properties(libmarkdown PROPERTIES set_target_properties(libmarkdown PROPERTIES
OUTPUT_NAME markdown) OUTPUT_NAME markdown)
add_library(common OBJECT if(NOT ${PROJECT_NAME}_ONLY_LIBRARY)
"${_ROOT}/pgm_options.c" add_library(common OBJECT
"${_ROOT}/gethopt.c") "${_ROOT}/pgm_options.c"
"${_ROOT}/gethopt.c")
add_executable(markdown add_executable(markdown
"${_ROOT}/main.c" "${_ROOT}/main.c"
$<TARGET_OBJECTS:common>) $<TARGET_OBJECTS:common>)
target_link_libraries(markdown PRIVATE libmarkdown) target_link_libraries(markdown PRIVATE libmarkdown)
add_executable(mkd2html add_executable(mkd2html
"${_ROOT}/mkd2html.c" "${_ROOT}/mkd2html.c"
$<TARGET_OBJECTS:common> $<TARGET_OBJECTS:common>
"${_ROOT}/notspecial.c") "${_ROOT}/notspecial.c")
target_link_libraries(mkd2html PRIVATE libmarkdown) target_link_libraries(mkd2html PRIVATE libmarkdown)
add_executable(makepage add_executable(makepage
"${_ROOT}/makepage.c" "${_ROOT}/makepage.c"
$<TARGET_OBJECTS:common>) $<TARGET_OBJECTS:common>)
target_link_libraries(makepage PRIVATE libmarkdown) target_link_libraries(makepage PRIVATE libmarkdown)
endif()
if(${PROJECT_NAME}_MAKE_INSTALL) if(${PROJECT_NAME}_MAKE_INSTALL)
string(TOLOWER ${PROJECT_NAME} _PACKAGE_NAME) string(TOLOWER ${PROJECT_NAME} _PACKAGE_NAME)
include(GNUInstallDirs) include(GNUInstallDirs)
if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR)
set(CMAKE_INSTALL_CMAKEDIR set(CMAKE_INSTALL_CMAKEDIR
"${CMAKE_INSTALL_LIBDIR}/cmake/${_PACKAGE_NAME}" "${CMAKE_INSTALL_LIBDIR}/cmake/${_PACKAGE_NAME}"
CACHE STRING "CMake packages") CACHE STRING "CMake packages")
endif() endif()
install(FILES "${_ROOT}/mkdio.h" install(FILES "${_ROOT}/mkdio.h"
 End of changes. 8 change blocks. 
16 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)