Commit 98522574 authored by julian.gethmann's avatar julian.gethmann

Update main.yml

Patch CMakeLists.txt
parent c505a016
...@@ -58,6 +58,20 @@ ...@@ -58,6 +58,20 @@
mode: 0777 mode: 0777
state: directory state: directory
- name: patch CMake file 1/2
become: yes
lineinfile:
line: "# add_library(NAFF SHARED interface_NAFF.cpp ${SOURCE_FILES} ${HEADER_FILES})"
regexp: "add_library(NAFF SHARED interface_NAFF.cpp ${SOURCE_FILES} ${HEADER_FILES})"
path: /tmp/NAFF_cpp/CMakeLists.txt
- name: patch CMake file 2/2
become: yes
lineinfile:
line: "#add_executable (NAFF main_NAFF.cpp ${SOURCE_FILES} ${HEADER_FILES})"
regexp: "add_executable (NAFF main_NAFF.cpp ${SOURCE_FILES} ${HEADER_FILES})"
path: /tmp/NAFF_cpp/CMakeLists.txt
- name: build - name: build
command: cmake .. command: cmake ..
args: args:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment