| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/rmf/files/ |
Upload File : |
--- CMakeLists.txt.orig 2021-04-19 19:25:22 UTC
+++ CMakeLists.txt
@@ -18,15 +18,15 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_S
include(cmake_modules/IMPFindPython.cmake)
imp_find_python()
-execute_process(COMMAND ${PYTHON_EXECUTABLE} setup_git.py
- RESULT_VARIABLE setup
- OUTPUT_VARIABLE toutput
- ERROR_VARIABLE error
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
- OUTPUT_STRIP_TRAILING_WHITESPACE)
-if(NOT ${setup} EQUAL 0)
- message(FATAL_ERROR " Failed to run setup_git.py: ${setup}; ${error}")
-endif()
+#execute_process(COMMAND ${PYTHON_EXECUTABLE} setup_git.py
+# RESULT_VARIABLE setup
+# OUTPUT_VARIABLE toutput
+# ERROR_VARIABLE error
+# WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
+# OUTPUT_STRIP_TRAILING_WHITESPACE)
+#if(NOT ${setup} EQUAL 0)
+# message(FATAL_ERROR " Failed to run setup_git.py: ${setup}; ${error}")
+#endif()
# Don't deref quoted variables in if()
if(POLICY CMP0054)
@@ -168,12 +168,14 @@ else()
endif()
-add_subdirectory(swig)
+#add_subdirectory(swig)
+if (FREEBSD_BUILS_WITH_TESTS)
add_subdirectory(test)
-add_subdirectory(examples)
-add_subdirectory(benchmark)
-add_subdirectory(doc)
+endif()
+#add_subdirectory(examples)
+#add_subdirectory(benchmark)
+#add_subdirectory(doc)
add_custom_target(RMF DEPENDS ${RMF_BINS} ${RMF_SWIG} ${RMF_TESTS} ${RMF_VMD} RMF-decorators)
set_property(TARGET "RMF" PROPERTY FOLDER "RMF")