Compare commits
No commits in common. "e3800b34759295521fe5ceac902b7ece4a08f66e" and "43726885746740d5cb36def8b7bd704d4f56f309" have entirely different histories.
e3800b3475
...
4372688574
|
|
@ -1,13 +1,12 @@
|
|||
CMakeLists.txt.user
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
CMakeLists.txt.user
|
||||
CMakeScripts
|
||||
CMakeUserPresets.json
|
||||
CTestTestfile.cmake
|
||||
Makefile
|
||||
Testing
|
||||
Makefile
|
||||
cmake_install.cmake
|
||||
install_manifest.txt
|
||||
compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
_deps
|
||||
build
|
||||
cmake_install.cmake
|
||||
compile_commands.json
|
||||
install_manifest.txt
|
||||
|
|
|
|||
|
|
@ -2,10 +2,6 @@ cmake_minimum_required(VERSION 3.24.2)
|
|||
set (CMAKE_CXX_STANDARD 11)
|
||||
|
||||
project (cppchallenge)
|
||||
find_package(CLI11 REQUIRED)
|
||||
set(BUILD_DIR "${PROJECT_SOURCE_DIR}/build")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${BUILD_DIR})
|
||||
set(CLI11_DIR ${BUILD_DIR})
|
||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "build")
|
||||
file(GLOB SOURCES "src/*.cpp")
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} CLI11::CLI11)
|
||||
add_executable(cppchallenge ${SOURCES})
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
[requires]
|
||||
cli11/2.3.2
|
||||
|
||||
[generators]
|
||||
CMakeDeps
|
||||
CMakeToolchain
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
#include "CLI/CLI.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
CLI::App app{"Just a simple 'hello'"};
|
||||
CLI11_PARSE(app, argc, argv);
|
||||
std::cout << "Hello World!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// vim: set ts=4 expandtab :
|
||||
|
|
@ -1,9 +1,6 @@
|
|||
#include "CLI/CLI.hpp"
|
||||
#include<iostream>
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
CLI::App app{"Just a simple 'hello'"};
|
||||
CLI11_PARSE(app, argc, argv);
|
||||
std::cout << "Hello World!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue