File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
13
13
set (CMAKE_CXX_STANDARD 23 )
14
14
set (CMAKE_CXX_STANDARD_REQUIRED True )
15
15
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
+
16
20
# Set policy for CMP0048
17
21
if (POLICY CMP0048 )
18
22
cmake_policy (SET CMP0048 NEW )
@@ -121,6 +125,9 @@ endif()
121
125
# =================== Main Executable ===================
122
126
add_executable (hyq src/main.cpp )
123
127
128
+ # Set binary output directory and name
129
+ set_target_properties (hyq PROPERTIES RUNTIME_OUTPUT_NAME "hyq" )
130
+
124
131
# Include hyprlang header
125
132
target_include_directories (hyq PRIVATE ${HYPRLANG_INCLUDE_DIR} )
126
133
Original file line number Diff line number Diff line change 1
- #include " ../build/_deps/nlohmann_json -src/single_include/nlohmann/json.hpp"
1
+ #include " ../build/_deps/json -src/single_include/nlohmann/json.hpp"
2
2
#include < CLI/CLI.hpp>
3
3
#include < any>
4
4
#include < cstring>
You can’t perform that action at this time.
0 commit comments