Skip to content

Commit afac3d5

Browse files
committed
Added extension to script of wsjcpp
1 parent 34530fd commit afac3d5

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

src.wsjcpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Automaticly generated by [email protected]
1+
2+
# Automaticly generated by [email protected]
23
cmake_minimum_required(VERSION 3.0)
34

45
add_definitions(-DWSJCPP_APP_VERSION="v0.2.1")

unit-tests.wsjcpp/CMakeLists.txt

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Automaticly generated by [email protected]
1+
2+
# Automaticly generated by [email protected]
23
cmake_minimum_required(VERSION 3.0)
34

45
project(unit-tests C CXX)
@@ -34,9 +35,7 @@ list (APPEND WSJCPP_SOURCES "../src/wsjcpp_arguments.h")
3435

3536
# unit-tests
3637
list (APPEND WSJCPP_INCLUDE_DIRS "src")
37-
list (APPEND WSJCPP_SOURCES "../unit-tests.wsjcpp/src/unit_test_arguments_with_params.h")
3838
list (APPEND WSJCPP_SOURCES "../unit-tests.wsjcpp/src/unit_test_arguments_with_params.cpp")
39-
list (APPEND WSJCPP_SOURCES "../unit-tests.wsjcpp/src/unit_test_simple_arguments.h")
4039
list (APPEND WSJCPP_SOURCES "../unit-tests.wsjcpp/src/unit_test_simple_arguments.cpp")
4140

4241
# required-libraries
@@ -50,12 +49,3 @@ include_directories(${WSJCPP_INCLUDE_DIRS})
5049
add_executable ("unit-tests" ${WSJCPP_SOURCES})
5150

5251
target_link_libraries("unit-tests" -lpthread ${WSJCPP_LIBRARIES} )
53-
54-
install(
55-
TARGETS
56-
"unit-tests"
57-
RUNTIME DESTINATION
58-
/usr/bin
59-
)
60-
61-

unit-tests.wsjcpp/build_simple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
if [ ! -d tmp ]; then
4-
mkdir -p tmp
4+
mkdir -p tmp
55
fi
66

77
cd tmp

wsjcpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ distribution:
3737
- source-file: src/wsjcpp_arguments.h
3838
target-file: wsjcpp_arguments.h
3939
type: "source-code"
40-
- source-file: "scripts.wsjcpp/generate.WsjcppArgumentProcessor"
41-
target-file: "generate.WsjcppArgumentProcessor"
40+
- source-file: "scripts.wsjcpp/generate.WsjcppArgumentProcessor.wsjcpp-script"
41+
target-file: "generate.WsjcppArgumentProcessor.wsjcpp-script"
4242
type: "safe-scripting-generate"
4343

4444
unit-tests:

0 commit comments

Comments
 (0)