Put pacman binary in the same directory as the assets
This commit is contained in:
parent
164db664ef
commit
af03c13a97
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,12 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
|||
add_executable(pacman ${sources})
|
||||
target_link_libraries(pacman libpacman)
|
||||
|
||||
set_target_properties(pacman
|
||||
PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
)
|
||||
|
||||
|
||||
#target_compile_options(pacman PRIVATE -fsanitize=address) # /MD will be used implicitly
|
||||
#target_link_directories(pacman PRIVATE "$ENV{ProgramFiles\(x86\)}/Microsoft Visual Studio/2019/Community/VC/Tools/Llvm/x64/lib/clang/10.0.0/lib/windows")
|
||||
#target_link_libraries(pacman PRIVATE libpacman clang_rt.asan_dynamic-x86_64 clang_rt.asan_dynamic_runtime_thunk-x86_64)
|
||||
|
|
Loading…
Reference in a new issue