- Timestamp:
- Jan 9, 2013, 9:33:51 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r34 r52 77 77 # ======================================== 78 78 if (PACPUS_BUILD_DOC) 79 add_subdirectory(${PACPUS_DOC_DIR})79 add_subdirectory(${PACPUS_DOC_DIR}) 80 80 endif() 81 81 … … 96 96 pacpus_info(" Host:" ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_VERSION} ${CMAKE_HOST_SYSTEM_PROCESSOR}) 97 97 if (CMAKE_CROSS_COMPILING) 98 pacpus_info(" Target:" ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION} ${CMAKE_SYSTEM_PROCESSOR})98 pacpus_info(" Target:" ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION} ${CMAKE_SYSTEM_PROCESSOR}) 99 99 endif() 100 100 pacpus_info(" CMake:" ${CMAKE_VERSION}) … … 102 102 pacpus_info(" CMake build tool:" ${CMAKE_BUILD_TOOL}) 103 103 if (MSVC) 104 pacpus_info(" MSVC:" ${MSVC_VERSION})104 pacpus_info(" MSVC:" ${MSVC_VERSION}) 105 105 else() 106 pacpus_info(" Configuration:" ${CMAKE_BUILD_TYPE})106 pacpus_info(" Configuration:" ${CMAKE_BUILD_TYPE}) 107 107 endif() 108 108 pacpus_info("") … … 121 121 pacpus_info("") 122 122 if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") 123 message(WARNING "The src directory is the same as bin directory. \"make clean\" may damage the source tree")123 message(WARNING "The src directory is the same as bin directory. \"make clean\" may damage the source tree") 124 124 endif() -
trunk/doc/CMakeLists.txt
r26 r52 9 9 10 10 if(PACPUS_BUILD_DOC) 11 # Debug12 pacpus_info("coucou")13 # Configure the template Doxyfile for our specific project14 configure_file(doxyfile.in ${CMAKE_BINARY_DIR}/Doxyfile @ONLY IMMEDIATE)15 # Add a custom target to run Doxygen when ever the project is built16 add_custom_target (17 documentation18 19 11 # Debug 12 pacpus_info("Adding target: documentation") 13 # Configure the template Doxyfile for our specific project 14 configure_file(doxyfile.in ${CMAKE_BINARY_DIR}/Doxyfile @ONLY IMMEDIATE) 15 # Add a custom target to run Doxygen when ever the project is built 16 add_custom_target ( 17 documentation 18 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile 19 SOURCES ${CMAKE_BINARY_DIR}/Doxyfile) 20 20 endif()
Note:
See TracChangeset
for help on using the changeset viewer.