Skip to content

Commit

Permalink
Prepare debug build for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Jul 18, 2024
1 parent 8267cb3 commit 5e73509
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/transformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ jobs:
mkdir build && cd build
cmake ..
cmake --build . -j 2
- name: Debug binaries
shell: bash
run: |
cd build
ls -la bin
ls -la lib
6 changes: 6 additions & 0 deletions transformer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
cmake_minimum_required(VERSION 3.10)
project(sedd-transformer)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

set (CMAKE_CXX_STANDARD 20)
set (CMAKE_POSITION_INDEPENDENT_CODE ON)
set (BUILD_SHARED_LIBS OFF)

set (ENABLE_TEST OFF CACHE STRING "" FORCE)

add_executable(sedd-transformer
src/Main.cpp

Expand Down

0 comments on commit 5e73509

Please sign in to comment.