Hello Everyone, I am new to cmake and I need help using the FindMPI.cmake module. I am using windows 7, and I have Visual Studios 2019 installed. I got the cmakelists.txt file to work and generated an output with various files but I have no clue what to do now, or if its even if I got the cmakelists.txt file set up properly. I have attached the cmakelists.txt file I have been using. I appreciate your help and guidance.
Thank You! Ksenofon Konomi Radiation Physicist University of Massachusetts Lowell Radiation Lab Office: (978) 934-2749
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # CMake version check project(FindMPI) # Create project "simple_example" # Add main.cpp file of project root directory as source file set(SOURCE_FILES FindMPI) # Add executable target with source files listed in SOURCE_FILES variable add_executable(FindMPI.cmake ${SOURCE_FILES}) SET_TARGET_PROPERTIES(FindMPI.cmake PROPERTIES LINKER_LANGUAGE CXX)
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake