Skip to content

CMAKE cpp compiler not working #94

@rdos314

Description

@rdos314

Here is the current rule:

# C++ compile a file into an object file
set(CMAKE_CXX_COMPILE_OBJECT
  "<CMAKE_CXX_COMPILER> ${CMAKE_WCL_QUIET} -d+ <DEFINES> <INCLUDES> <FLAGS> -fo<OBJECT> -c -cc++ <SOURCE>")

However, this doesn't work since wpp386 doesn't understand the -c compiler switch.

It should look something like this:

set(CMAKE_CXX_COMPILE_OBJECT
    "<CMAKE_CXX_COMPILER> <SOURCE> -fo=<OBJECT> <DEFINES> <INCLUDES> <FLAGS> "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions