10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f3111 commit 10d671dCopy full SHA for 10d671d
recipes/task/CMakeLists.txt.patch
@@ -11,3 +11,13 @@
11
add_library (task STATIC ${task_SRCS})
12
add_executable (task_executable main.cpp)
13
add_executable (calc_executable calc.cpp)
14
+@@ -64,6 +64,9 @@
15
+ set_property (TARGET calc_executable PROPERTY OUTPUT_NAME "calc")
16
+ set_property (TARGET lex_executable PROPERTY OUTPUT_NAME "lex")
17
+
18
++set (CMAKE_CXX_FLAGS "-fPIE")
19
++set (CMAKE_EXE_LINKER_FLAGS "-pie")
20
++
21
+ #SET(CMAKE_BUILD_TYPE gcov)
22
+ #SET(CMAKE_CXX_FLAGS_GCOV "--coverage")
23
+ #SET(CMAKE_C_FLAGS_GCOV "--coverage")
0 commit comments