From 564333b5c3334c8547550667eb33391d301cb5a4 Mon Sep 17 00:00:00 2001 From: rifki sadikin Date: Tue, 6 Nov 2018 16:01:54 +0700 Subject: [PATCH] Deleted unused cmakelists.txt --- CMakeLists.txt.temp | 44 ----------------------------------- interface/CMakeLists.txt | 15 ------------ kernel/CMakeLists.txt.aliroot | 37 ----------------------------- 3 files changed, 96 deletions(-) delete mode 100644 CMakeLists.txt.temp delete mode 100644 interface/CMakeLists.txt delete mode 100644 kernel/CMakeLists.txt.aliroot diff --git a/CMakeLists.txt.temp b/CMakeLists.txt.temp deleted file mode 100644 index f0856f6..0000000 --- a/CMakeLists.txt.temp +++ /dev/null @@ -1,44 +0,0 @@ -# MakeLists files in this project can -# refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and -# to the root binary directory of the project as ${HELLO_BINARY_DIR}. -cmake_minimum_required (VERSION 2.8.11) -project (3DPoissonSolverGPU) - -# Recurse into the "Hello" and "Demo" subdirectories. This does not actually -# cause another cmake executable to run. The same process will walk through -# the project's entire directory structure. - -set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake/cuda" ${CMAKE_MODULE_PATH}) -find_package(CUDA QUIET REQUIRED) -find_package(Doxygen) - -if (DOXYGEN_FOUND) - # set input and output files - set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in) - set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) - - # request to configure the file - configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY) - message("Doxygen build started") - - # note the option ALL which allows to build the docs together with the application - add_custom_target( doc_doxygen ALL - COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating API documentation with Doxygen" - VERBATIM ) -else (DOXYGEN_FOUND) - message("Doxygen need to be installed to generate the doxygen documentation") -endif (DOXYGEN_FOUND) - - -enable_testing() -set(TARGET_NAME poissonsolvergpu) - -set(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE OFF) -set(BUILD_SHARED_LIBS ON) -list(APPEND CUDA_NVCC_FLAGS) - -add_subdirectory (kernel) -add_subdirectory (interface) - diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt deleted file mode 100644 index 2125426..0000000 --- a/interface/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -CUDA_ADD_LIBRARY(PoissonSolver3DGPU - PoissonSolver3DGPU.cu - # lib.cu - SHARED - # STATIC - #OPTIONS -DSTUFF="blah blah" - #RELEASE --use_fast_math -DNDEBUG - #DEBUG -g -DDEBUG - ) - - -INSTALL(FILES PoissonSolver3DGPU.h - DESTINATION include) -INSTALL(FILES "${CMAKE_BINARY_DIR}/gpulib/libPoissonSolver3DGPU.so" - DESTINATION lib) diff --git a/kernel/CMakeLists.txt.aliroot b/kernel/CMakeLists.txt.aliroot deleted file mode 100644 index eb62d07..0000000 --- a/kernel/CMakeLists.txt.aliroot +++ /dev/null @@ -1,37 +0,0 @@ -set(SRCS - ${SCGPUDIR}/interface/AliTPCPoissonSolverMem.cxx -# ${CAGPU_O} - ) - -# Headers from sources -set(CINTHDRS - ${SCGPUDIR}/interface/AliTPCPoissonSolverMem.h - ${SCGPUDIR}/interface/AliCudaLinkDef.h - ) - -set(HDRS - ) - -# Generate the dictionary -# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument -get_directory_property(incdirs INCLUDE_DIRECTORIES) -generate_dictionary("${MODULE}" "" "${CINTHDRS}" "${incdirs}") - -# Generate the ROOT map -# Dependecies -generate_rootmap("${MODULE}" "" "") - -# Add a library to the project using the specified source files -add_library_tested(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx) -#CUDA run-time and driver -target_link_libraries(${MODULE} ${CUDA_LIBRARIES} ${LIBCUDA_SO_PATH} AliTPCSpaceCharge3DDriftLine) - -# Additional compilation flags -set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "") - -# Installation -install(TARGETS ${MODULE} - ARCHIVE DESTINATION lib - LIBRARY DESTINATION lib) - -install(FILES ${HDRS} DESTINATION include)