-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: J. K. Edwards <joed6834@colorado.edu>
- Loading branch information
1 parent
d72ed6b
commit 3f655dd
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
|
||
# Name of your project | ||
project(pmll_logic_loop_knowledge_block | ||
VERSION 0.1.0 | ||
DESCRIPTION "Example CMake project" | ||
LANGUAGES CXX) | ||
|
||
# Specify the C++ standard | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED True) | ||
|
||
# (Optional) Turn on extra compiler warnings in a cross-platform way | ||
if(MSVC) | ||
add_compile_options(/W4) | ||
else() | ||
add_compile_options(-Wall -Wextra -pedantic) | ||
endif() | ||
|
||
# If you have a src/ folder, you can list your source files there | ||
# For a minimal example, we’ll just assume main.cpp is in the same folder | ||
add_executable(pmll_logic_loop_knowledge_block | ||
main.cpp | ||
) | ||
|
||
# Optionally link libraries or set include directories, for example: | ||
# target_include_directories(pmll_logic_loop_knowledge_block PRIVATE include/) | ||
# target_link_libraries(pmll_logic_loop_knowledge_block PRIVATE some_library) | ||
|
||
# If you want to enable testing, you can add: | ||
# enable_testing() | ||
# add_test(NAME MyTest COMMAND pmll_logic_loop_knowledge_block) |