Permalink
Browse files

Refactor: move exported includes in separate folder

  • Loading branch information...
1 parent cce6c27 commit 6b0dfb25d5ffac03be2541ebea0f489e82eeeed1 @massix committed May 16, 2012
View
0 src/PM_IP_IniElement.h → include/PM_IP_IniElement.h
File renamed without changes.
View
0 src/PM_IP_Parser.h → include/PM_IP_Parser.h
File renamed without changes.
View
0 src/PM_IP_StaticFunctions.h → include/PM_IP_StaticFunctions.h
File renamed without changes.
View
6 src/CMakeLists.txt
@@ -3,11 +3,11 @@
include_directories(.)
file(GLOB SOURCES *.cpp)
-file(GLOB HEADERS *.h)
+file(GLOB HEADERS ${libPmIniParser_SOURCE_DIR}/include/*.h)
set(MajorVersion 1)
set(BinaryVersion 4)
-set(MinorVersion 2)
+set(MinorVersion 3)
set(FullVersion ${MajorVersion}.${BinaryVersion}.${MinorVersion})
add_definitions(
@@ -18,7 +18,7 @@ add_definitions(
find_package(Boost COMPONENTS regex-mt)
-include_directories(${Boost_INCLUDE_DIRS})
+include_directories(${Boost_INCLUDE_DIRS} ${libPmIniParser_SOURCE_DIR}/include)
add_library(PmIniParser SHARED ${SOURCES})
add_library(PmIniParser-static STATIC ${SOURCES})
View
2 test/CMakeLists.txt
@@ -1,6 +1,6 @@
# test folder
-include_directories(. ../src)
+include_directories(. ../include)
file (GLOB SOURCES *.cpp)
View
4 test/doubleElement.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>
View
4 test/multipleElements.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>
View
4 test/parseFromFile.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>
View
4 test/repeatingAttribute.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>
View
4 test/simpleElement.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>
View
4 test/spacesAround.cpp
@@ -5,8 +5,8 @@
* Author: massi
*/
-#include "../src/PM_IP_IniElement.h"
-#include "../src/PM_IP_Parser.h"
+#include "PM_IP_IniElement.h"
+#include "PM_IP_Parser.h"
#include <iostream>
#include <cstdlib>

0 comments on commit 6b0dfb2

Please sign in to comment.