I have been trying to run this code from a Github Repository https://github.com/dllu/puppup using CMake. After successfully building the file, The command
./puppup
Results in the following error
'.' is not recognized as an internal or external command, operable program or batch file.
Following is the code for the corresponding CMakeList.txt file
cmake_minimum_required(VERSION 3.9)
project(puppup)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set(SCRABBLE_INCLUDE_DIRS
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/third-party
)
################################################################
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -march=native -Wall -Wpedantic -Werror")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast")
set(LLVM_OPT_IR_FLAGS "-inline-threshold=10000")
################################################################
include_directories(${SCRABBLE_INCLUDE_DIRS})
add_executable(
puppup
src/main.cpp
src/movegen.cpp
)
Thanks in advance!