From ca080c19f1f3f8e3c23a207d936d03fd5f247d12 Mon Sep 17 00:00:00 2001 From: "steven@devbox" Date: Fri, 9 May 2025 22:53:11 +0000 Subject: init new cpp project --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..20cad24 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.5) +project(joecpp) +add_executable(joecpp src/main.cpp) +set(OUTPUT_DEBUG "build/debug") +set(OUTPUT_REL "build/release") +# Output directory for libraries in Debug configuration +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/${OUTPUT_DEBUG}) +# Output directory for libraries in Release configuration +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/${OUTPUT_REL}) -- cgit