fixed: use of inc var is confusing.
This commit is contained in:
parent
39a2ecbd8f
commit
8a8ae6c0b1
|
@ -13,25 +13,25 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set(inc
|
set(headers
|
||||||
synwinhk.h
|
synwinhk.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(src
|
set(source
|
||||||
synwinhk.cpp
|
synwinhk.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND src
|
list(APPEND source
|
||||||
${inc}
|
${headers}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(inc
|
set(includes
|
||||||
../common
|
../common
|
||||||
../synergy
|
../synergy
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(${inc})
|
include_directories(${includes})
|
||||||
add_library(synwinhk SHARED ${inc} ${src})
|
add_library(synwinhk SHARED ${source})
|
||||||
|
|
||||||
# copy the dlls (and supporting files) from the lib dir to
|
# copy the dlls (and supporting files) from the lib dir to
|
||||||
# the bin dir, so that synergyc and synergys can easily find them.
|
# the bin dir, so that synergyc and synergys can easily find them.
|
||||||
|
|
|
@ -13,31 +13,31 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set(inc
|
set(headers
|
||||||
CClassFactory.h
|
CClassFactory.h
|
||||||
CDataHandlerExtension.h
|
CDataHandlerExtension.h
|
||||||
synwinxt.h
|
synwinxt.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(src
|
set(source
|
||||||
CClassFactory.cpp
|
CClassFactory.cpp
|
||||||
CDataHandlerExtension.cpp
|
CDataHandlerExtension.cpp
|
||||||
synwinxt.cpp
|
synwinxt.cpp
|
||||||
synwinxt.def
|
synwinxt.def
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND src
|
list(APPEND source
|
||||||
${inc}
|
${headers}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(inc
|
set(includes
|
||||||
../arch
|
../arch
|
||||||
../base
|
../base
|
||||||
../common
|
../common
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(${inc})
|
include_directories(${includes})
|
||||||
add_library(synwinxt SHARED ${inc} ${src})
|
add_library(synwinxt SHARED ${source})
|
||||||
target_link_libraries(synwinxt
|
target_link_libraries(synwinxt
|
||||||
arch base common ${libs})
|
arch base common ${libs})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue