Skip to content

Commit a01744e

Browse files
author
Daniel Heater
committed
Demonstrate disabling IPRINTF
1 parent cc46ad3 commit a01744e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 2.8)
33
# I like to have the warning level set high.
44
add_definitions("-Wall -Wextra -Wparentheses -Wuninitialized -Wcomment -Wformat -Weffc++")
55

6+
# Set target specific rules.
7+
#set_property(SOURCE task/Hello.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " -DNO_PRINT_INFO")
8+
69
# Add the source tree directory to the search path for include files.
710
# Add the path to the libSPRITE header files.
811
include_directories(${CMAKE_CURRENT_SOURCE_DIR} "/usr/local/include/SPRITE")

task/Hello.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __task_Hello_hpp__
2-
#define __task_Hello_hpp__
1+
#ifndef task_Hello_hpp
2+
#define task_Hello_hpp
33

44
#include "SRTX/Task.h"
55

@@ -35,4 +35,4 @@ namespace task {
3535

3636
} // namespace
3737

38-
#endif // __task_Hello_hpp__
38+
#endif // task_Hello_hpp

0 commit comments

Comments
 (0)