-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Running destructions per block copy sees the "build" directory stuffed up higher than the ccp2py directory with the commensurate build failures.
Manually stepping through, so you're actually under the build directory when running the cmake, gets you:
(gcmc) asterion@MonstaPC:~/dev/cpp2py$ cd build/
(gcmc) asterion@MonstaPC:~/dev/cpp2py/build$ cmake -DCMAKE_INSTALL_PREFIX=INSTALL_DIR ../cpp2py
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (install):
install DIRECTORY given no DESTINATION!
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.25)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/asterion/dev/cpp2py/build/CMakeFiles/CMakeOutput.log".
Ignoring the version warning, the fact the installing destructions do not include (it seems) setting up the "DESTINATION" means no confidence in this project.
Even setting INSTALL_DIR sees the same error.
Will it even build if I bother to sort out the crap build instructions?
Metadata
Metadata
Assignees
Labels
No labels