Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
1a608a3d
Commit
1a608a3d
authored
Mar 07, 2013
by
Julien Malik
Browse files
COMP: do not mix include dirs (Common should not include Application)
parent
1dc33e43
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1a608a3d
...
...
@@ -101,24 +101,6 @@ endif(OTB_DATA_USE_LARGEINPUT)
# set the Buildname for the dashboard
set
(
BUILDNAME
"
${
BUILDNAME
}
"
CACHE STRING
"Name of build on the dashboard."
)
#----------------------------------------------------------------------------
# Include directories
set
(
Monteverdi2_INCLUDE_DIRS
# ${Monteverdi2_SOURCE_DIR}/Code/
${
Monteverdi2_SOURCE_DIR
}
/Code/Common
${
Monteverdi2_SOURCE_DIR
}
/Code/Application
${
Monteverdi2_SOURCE_DIR
}
/Data/Icons
# For moc files
${
Monteverdi2_BINARY_DIR
}
/Code/Common
${
Monteverdi2_BINARY_DIR
}
/Code/Application
# For ConfigureMonteverdi2.h
${
Monteverdi2_BINARY_DIR
}
)
include_directories
(
${
Monteverdi2_INCLUDE_DIRS
}
)
#----------------------------------------------------------------------------
# Installation directories:
# Monteverdi2_INSTALL_BIN_DIR - binary dir (executables)
...
...
Code/Application/CMakeLists.txt
View file @
1a608a3d
...
...
@@ -23,6 +23,19 @@ set( Application_RESOURCES
mvdMainWindow.qrc
)
include_directories
(
${
Monteverdi2_BINARY_DIR
}
${
Monteverdi2_SOURCE_DIR
}
/Code/Common
${
Monteverdi2_SOURCE_DIR
}
/Code/Application
${
Monteverdi2_BINARY_DIR
}
/Code/Application
${
Monteverdi2_SOURCE_DIR
}
/Data/Icons
)
#############################################################################
# Qt4 wrapped files.
qt4_wrap_cpp
(
Application_SRC_MOC
${
Application_HEADERS_MOC
}
)
...
...
Code/Common/CMakeLists.txt
View file @
1a608a3d
...
...
@@ -78,6 +78,12 @@ set( Common_FORMS
set
(
Common_RESOURCES
)
include_directories
(
${
Monteverdi2_BINARY_DIR
}
${
Monteverdi2_SOURCE_DIR
}
/Code/Common
${
Monteverdi2_BINARY_DIR
}
/Code/Common
)
#############################################################################
# Qt4 wrapped files.
qt4_wrap_cpp
(
Common_SRC_MOC
${
Common_HEADERS_MOC
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment