Skip to content

Commit ba08f77

Browse files
committed
fixe
1 parent ee7758b commit ba08f77

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
1313
set(CMAKE_CXX_STANDARD 23)
1414
set(CMAKE_CXX_STANDARD_REQUIRED True)
1515

16+
# Set binary output directory
17+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
18+
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
19+
1620
# Set policy for CMP0048
1721
if(POLICY CMP0048)
1822
cmake_policy(SET CMP0048 NEW)
@@ -121,6 +125,9 @@ endif()
121125
# =================== Main Executable ===================
122126
add_executable(hyq src/main.cpp)
123127

128+
# Set binary output directory and name
129+
set_target_properties(hyq PROPERTIES RUNTIME_OUTPUT_NAME "hyq")
130+
124131
# Include hyprlang header
125132
target_include_directories(hyq PRIVATE ${HYPRLANG_INCLUDE_DIR})
126133

bin/hyq

1020 KB
Binary file not shown.

release/hyq

-1.02 MB
Binary file not shown.

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "../build/_deps/nlohmann_json-src/single_include/nlohmann/json.hpp"
1+
#include "../build/_deps/json-src/single_include/nlohmann/json.hpp"
22
#include <CLI/CLI.hpp>
33
#include <any>
44
#include <cstring>

0 commit comments

Comments
 (0)