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
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set(inc
|
||||
set(headers
|
||||
synwinhk.h
|
||||
)
|
||||
|
||||
set(src
|
||||
set(source
|
||||
synwinhk.cpp
|
||||
)
|
||||
|
||||
list(APPEND src
|
||||
${inc}
|
||||
list(APPEND source
|
||||
${headers}
|
||||
)
|
||||
|
||||
set(inc
|
||||
set(includes
|
||||
../common
|
||||
../synergy
|
||||
)
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(synwinhk SHARED ${inc} ${src})
|
||||
include_directories(${includes})
|
||||
add_library(synwinhk SHARED ${source})
|
||||
|
||||
# copy the dlls (and supporting files) from the lib dir to
|
||||
# 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
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set(inc
|
||||
set(headers
|
||||
CClassFactory.h
|
||||
CDataHandlerExtension.h
|
||||
synwinxt.h
|
||||
)
|
||||
|
||||
set(src
|
||||
set(source
|
||||
CClassFactory.cpp
|
||||
CDataHandlerExtension.cpp
|
||||
synwinxt.cpp
|
||||
synwinxt.def
|
||||
)
|
||||
|
||||
list(APPEND src
|
||||
${inc}
|
||||
list(APPEND source
|
||||
${headers}
|
||||
)
|
||||
|
||||
set(inc
|
||||
set(includes
|
||||
../arch
|
||||
../base
|
||||
../common
|
||||
)
|
||||
|
||||
include_directories(${inc})
|
||||
add_library(synwinxt SHARED ${inc} ${src})
|
||||
include_directories(${includes})
|
||||
add_library(synwinxt SHARED ${source})
|
||||
target_link_libraries(synwinxt
|
||||
arch base common ${libs})
|
||||
|
||||
|
|
Loading…
Reference in New Issue